- Add .env file in root folder for blackfire credentials :
### --- DATABASE ---- POSTGRES_USER=plasuser POSTGRES_PASSWORD=plassword POSTGRES_DB=plasma ### --- BLACKFIRE ---- BLACKFIRE_CLIENT_ID=YOUR_BLACKFIRE_SERVER_ID BLACKFIRE_CLIENT_TOKEN=YOUR_BLACKFIRE_SERVER_TOKEN BLACKFIRE_SERVER_ID=YOUR_BLACKFIRE_CLIENT_ID BLACKFIRE_SERVER_TOKEN=YOUR_BLACKFIRE_CLIENT_TOKEN
- run
$ docker-compose up -d
to lunch docker containers - Then go into the
/public/
folder - Lunch
$ composer install
to install depedencies - Lunch
$ php bin/console d:d:c
then$ php bin/console d:s:u --force
to create the database and populate it - Lunch
$ yarn install
to install yarn - Lunch
$ yarn encore dev
to compile js and scss - Lunch
$ php bin/console doctrine:fixtures:load
thenyen
to lunch fixtures Bonus : Lunch$ php bin/console d:d:d --force && php bin/console d:d:c && php bin/console d:s:u --force && yarn install && yarn encore dev && php bin/console d:f:l
to do all the job. - Run the application
$ php bin/console server:run
and go on http://127.0.0.1:8000 - Access to all accounts, for example
admin@plasma.fr with the passord
admin123``
-
Notifications
You must be signed in to change notification settings - Fork 0
Plasma is an Online Tournament Organizer develop with Symfony
PA-Plasma/annual-project
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Plasma is an Online Tournament Organizer develop with Symfony
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published