mirror of
https://github.com/ToxicCrack/PrintABrick.git
synced 2025-05-16 04:10:09 -07:00
Website for printable building kits
A Symfony project
Install
System requirements
- PHP needs to be a minimum version of PHP 5.5.9
- PHP Extensions
- FTP
- SOAP
- PDO
- Zip
- date.timezone setting set in php.ini
- LDView OSMesa >= 4.2.1 source.
You can check if your system meets requirements by running $ bin/symfony_requirements
For full requirements see Symfony 3.2 docs.
###Installing
####Back-end
- Make sure your system meets the application requirements
- Install dependencies via Composer,
$ composer install
####Front-end
- Install dependencies via npm,
$ npm install
- Compile assets by running Gulp default task,
$ gulp default
####Database
- Set application parameters in app/config/parameters.yml
- Generate empty database by running command
$ php bin/console doctrine:database:create
- To load LDraw models into database run commad
$ php bin/console app:load:ldraw
If you prefer local ldraw library you can specify source by running$ php bin/console app:load:ldraw [ldraw_dir_path]
instead
Languages
PHP
78.7%
Twig
15.5%
JavaScript
3.1%
SCSS
2.1%
Dockerfile
0.4%
Other
0.2%