1
0
mirror of https://github.com/ToxicCrack/PrintABrick.git synced 2025-05-17 12:50:08 -07:00
2017-05-22 12:11:59 +02:00
2017-05-05 21:06:06 +02:00
2017-05-17 20:17:14 +02:00
2017-05-17 20:17:14 +02:00
2017-05-18 00:48:27 +02:00
2017-01-17 12:17:24 +01:00
2017-05-18 16:34:38 +02:00
2017-05-18 00:48:27 +02:00
2017-04-18 18:28:40 +02:00
2017-04-10 17:00:37 +02:00
2016-11-04 00:54:26 +01:00
2017-05-18 23:54:26 +02: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
    • GD
    • 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

  1. Make sure your system meets the application requirements
  2. Install dependencies via Composer, $ composer install

Front-end

  1. Install dependencies via npm, $ npm install
  2. Compile assets by running Gulp, $ gulp

Database

  1. Set application parameters in app/config/parameters.yml
  2. Generate an empty database by running command (if it does not yet exist) $ php bin/console doctrine:database:create
  3. Run doctrine migrations by running command$ bin/console doctrine:migrations:migrate
  4. Load LDraw models into database by running commad $ php bin/console app:load:models <ldraw_dir> [--all] [--file=FILE] [--update]
  5. Load Rebrickable data into database by running command $ php bin/console app:load:rebrickable
  6. Load relations between LDraw models and Rebrickable parts by running command $ php bin/console app:load:relation
Description
No description provided
Readme GPL-2.0 5.2 MiB
Languages
PHP 78.7%
Twig 15.5%
JavaScript 3.1%
SCSS 2.1%
Dockerfile 0.4%
Other 0.2%