You must have installed the following:
- git (command line)
- Mysql
- You could also use mariaDb if on Linux
- Other Database engines may work, however this is untested
- Make sure you have created an empty database for the project
- Also make sure you have a user/password create with permissions for that database
- Apache (nginx is untested, it may work or require additional configuration)
- PHP 7.1+
- yarn
- composer
- Configure php, git, yarn and composer to be in your $PATH for command line
- Download the source code
- In your development direction.
git clone git@github.com:AnimeTwinCities/registration.git [<directory name>]- That will checkout the source code for the given directory
- Enter the new directory
cd registration- If you provided a
[<directory name>], use that in place of registration
- In your development direction.
- Install package dependencies
- Start composer install
composer install- You will be asked questions during the install
- for example, make sure you have your database information ready
- For your mail information you could just provide your gmail setting
- Start yarn install
cd webyarn install- return to the root directory
cd ..
- Start composer install
- Create Database
- Use Doctrine to generate all tables
php bin/console doctrine:schema:update --force
- Create your first user (change user/email/password)
php app/console fos:user:create testuser test@example.com p@ssword --super-admin
- Use Doctrine to generate all tables
- Insert Seed data for registration badges
- Run the sql file located at: app/config/seedData.sql
php bin/console server:start
Login to the admin console
- 127.0.0.1:8000/admin
- The ip address / port may be different. If it is change it to /admin
- Create a new event year in the admin console. Mark it as active