This repo is backend part of application MassSpecBlocks. The Main repo with documentation is here.
git clone https://github.com/privrja/thesis.git
cd thesis/
composer install --dev
To drop DB and create new use:
php bin/console doctrine:database:drop --force
php bin/console doctrine:database:create
php bin/console doctrine:mig:mig
php bin/console doctrine:fixtures:load --group=prod
or dev group
Before every test you need to delete, create, migrate and purge DB like in previuos step, now test can't be run more times in a row.
To run test use composer test
or php ./vendor/symfony/phpunit-bridge/bin/simple-phpunit
symfony server:start
Documentation of API is localhost:8000/rest/doc Rest API is on localhost:8000/rest