All Projects → hubnedav → Printabrick

hubnedav / Printabrick

Licence: gpl-2.0
Web catalogue of LEGO® parts for 3D printing

Labels

Projects that are alternatives of or similar to Printabrick

Symfony4 Ddd
Bootstrap Application for Symfony 4 with Domain Driven Design
Stars: ✭ 126 (-10%)
Mutual labels:  symfony
Symfony Bridge
[READ ONLY] Bridge for using command buses and event buses in Symfony projects. Full documentation can be found here:
Stars: ✭ 133 (-5%)
Mutual labels:  symfony
Translation Contracts
A set of translation abstractions extracted out of the Symfony components
Stars: ✭ 1,949 (+1292.14%)
Mutual labels:  symfony
Wouterjeloquentbundle
Integrates the Eloquent ORM in the Symfony framework
Stars: ✭ 126 (-10%)
Mutual labels:  symfony
Server For Symfony Flex
A self hosted server for Symfony Flex allowing private and customized recipes, proxy and caching functionality for the official endpoints.
Stars: ✭ 132 (-5.71%)
Mutual labels:  symfony
Service Contracts
A set of service abstractions extracted out of the Symfony components
Stars: ✭ 1,931 (+1279.29%)
Mutual labels:  symfony
Php Ddd Example
🐘🎯 Hexagonal Architecture + DDD + CQRS in PHP using Symfony 5
Stars: ✭ 1,960 (+1300%)
Mutual labels:  symfony
Symfonyconfigtest
Stars: ✭ 142 (+1.43%)
Mutual labels:  symfony
Stofdoctrineextensionsbundle
Integration bundle for DoctrineExtensions by l3pp4rd in Symfony
Stars: ✭ 1,713 (+1123.57%)
Mutual labels:  symfony
Consolebundle
Commandline interface in browser for Symfony2
Stars: ✭ 138 (-1.43%)
Mutual labels:  symfony
Jsformvalidatorbundle
The Javascript validation for Symfony 2, 3 and 4 forms
Stars: ✭ 130 (-7.14%)
Mutual labels:  symfony
Doctrinephpcrbundle
This bundle integrates Doctrine PHPCR ODM and PHPCR backends into Symfony
Stars: ✭ 131 (-6.43%)
Mutual labels:  symfony
Sonatanotificationbundle
Symfony SonataNotificationBundle
Stars: ✭ 136 (-2.86%)
Mutual labels:  symfony
Property Info
PropertyInfo extracts information about PHP class' properties using metadata of popular sources.
Stars: ✭ 1,747 (+1147.86%)
Mutual labels:  symfony
Nelmiosolariumbundle
Integration between Symfony and the Solarium Solr client.
Stars: ✭ 141 (+0.71%)
Mutual labels:  symfony
Routing Bundle
Integrate the CMF Routing component as a Symfony2 bundle: Have the chain router and the dynamic router available in Symfony2
Stars: ✭ 124 (-11.43%)
Mutual labels:  symfony
Jobeet Tutorial
📖 Symfony 4.2 Jobeet Tutorial
Stars: ✭ 134 (-4.29%)
Mutual labels:  symfony
Profiler Pack
A Symfony Pack for Symfony profiler
Stars: ✭ 1,745 (+1146.43%)
Mutual labels:  symfony
Datatables Bundle
DataTables bundle for Symfony
Stars: ✭ 142 (+1.43%)
Mutual labels:  symfony
Escapewsseauthenticationbundle
Symfony bundle to implement WSSE authentication
Stars: ✭ 138 (-1.43%)
Mutual labels:  symfony

PrintABrick

Web catalogue of LEGO® parts for 3D printing

A Symfony project

Install

System requirements

  • PHP needs to be a minimum version of PHP 7.0
  • PHP Extensions
    • FTP
    • SOAP
    • GD
    • PDO
    • Zip
  • date.timezone setting set in php.ini

You can check if your system meets requirements by running $ bin/symfony_requirements

For full requirements see Symfony 3.3 docs.

Required

  • Elasticsearch >= 5

    Instructions for installing and deploying Elasticsearch may be found here.

  • POV-Ray source.

  • stl2pov source.

  • ADMesh

  • LDView OSMesa >= 4.2.1 source.

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. Install bower dependencies via bower, $ bower install
  3. Compile assets by running Gulp, $ gulp default [--env production]

Initialization

Setup database
  1. Set application parameters in app/config/parameters.yml
  2. Generate an empty database by running command (if it does not yet exist) $ bin/console doctrine:database:create
  3. Create database tables/schema by running command$ bin/console doctrine:schema:create
  4. Load database fixtures $ bin/console doctrine:fixtures:load
Load data

You can load initial application data by running command $ bin/console app:init

This command consists of multiple subcommands that can be called separately:

  1. Load LDraw models into database by running commad $ bin/console app:load:ldraw [--ldraw=PATH] [--all] [--file=FILE] [--update]
  2. Load Rebrickable data into database by running command $ bin/console app:load:rebrickable
  3. Load relations between LDraw models and Rebrickable parts by running command $ bin/console app:load:relations
  4. Download images of models from rebrickable.com $ bin/console app:load:images [--color=INT] [--rebrickable] [--missing]
  5. Populate Elastisearch index $ bin/console fos:elastica:populate
Adding part relation

Relations between LDraw models and Rebrickable parts are matched automatically by identical (or similar) id/name when executing command $ bin/console app:load:relation.

Unmatched relations can be specified by adding relation of IDs to app/Resources/relations/part_model.yml

Testing

The test database must be created before the first test runs. You can create new one by running:

  1. Generate an empty database by running command (if it does not yet exist) $ bin/console doctrine:database:create --env=test
  2. Create database tables/schema by running command$ bin/console doctrine:schema:create --env=test

You can run complete system tests by $ phpunit. These should cover the main system functions and the functionality of calling the third-party programs that are required are needed to seamlessly retrieve the necessary application data.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].