A website to list and present machines, tools and softwares available in LabBoîte, fablab of Cergy-Pontoise.
Softwares and hardware tools are organized in categories : users can quickly find the tool they looking for and the fablab can organized its tools according to their function.
Cliking on a category display all to tools linked or lead directly to a tool page.
Admins are free to re-order the items and active or disable each element — if the tool hasn't a page.
Content of the index section is managed with a database.
The tools page gathers all the information to know about the tool.
User can find, dependly of the tool :
- the tool specs
- a tutorial
- the needed consumables
- a Q&A
- some tips
Admins publish and update this part of the website. As the fablab has many different tools and each has its particularities, the content of the tools page adapts whether the sections are filled or not — e.g. tips section can be hidden if no tips were published.
For more details about database, see the conceptual data model at ./documentation/labboite-cdm.jpg
This project is docker enabled, just 'docker-compose up'
and you're good to go !
- This project use CKEditor 4 : https://ckeditor.com/docs/ckeditor4/latest/
- This project use elFinder to manage files in CKEditor : https://github.com/Studio-42/elFinder
- Each folder in the template directory can be divided in 2 folder :
- an "admin" folder : for back-office templates
- a "public" folder : for front-office templates
- To use the app, you first need to insert themes and at least one super admin user in your database
- to load the first user, you can load the user fixture located at ./src/DataFixtures/UserFixtures.php
- to load themes, you can insert them manually in the DB or load them with fixtures like in ./src/DataFixtures/AppFixtures.php
- for more info see : https://symfony.com/doc/current/bundles/DoctrineFixturesBundle/index.html
- The first time you are using elFinder to manage files from CKEditor, elFinder can throw an error due to the folder ./public/upload/ckeditor not being created yet. After that, the error will not occur anymore.
- Symfony v4.4.7
- MySQL v5.7
- Docker (-compose v3)
- Clone the projet at desired path
- Install dependencies with composer
composer install
- Edit the .env file with your database informations
- Create and set up your database
php bin/console doctrine:database:create
php bin/console doctrine:migrations:migrate - Optionnal : load fake data
php bin/console doctrine:fixtures:load
Design : Valentin Socha
Development : PIERRON Marc, HANNA Filoupatir