Creating of a collaborative snowboard site based on the Symfony framwork
-
Symfony 4.4.8
-
Composer 1.9.1
-
Bootstrap 4.4.1
-
jQuery 3.4.1
-
PHPUnit 9.1.4
-
Xdebug 2.9.5
-
Wampserver 3.2.0
- PHP 7.4.1
- Apache 2.4.41
- MySQL 8.0.18
- Download and install WampServer (or equivalent: MampServer, XampServer, LampServer).
- Download the project clone in the www folder of WampServer :
git clone https://github.com/Scratchy-Show/SnowTricks.git
- Configure the
DATABASE_URLenvironment variable to connect to your database and theMAILER_URLenvironment variable to be able to send emails. - Install the dependencies - In the root directory of the project, open the CLI (Command-Line Interface) and execute the command :
composer install
- Create the database - Execute the command :
php bin/console doctrine:database:create
- Update database - Execute the command :
php bin/console doctrine:schema:update --force
- Load fixtures - Execute the command :
php bin/console doctrine:fixtures:load
- Run the Symfony server - Execute the command :
symfony server:start
- Access the site - Enter the address indicated by the web server in your browser :
Example: <http://127.0.0.1:8000>