-
git clone https://.... ./dossier-agrement
-
cd dossier-agrement
-
Install composer https://getcomposer.org/download/
-
run
php composer install
to install vendors/dependencies -
cp .env .env.local
copy environment file -
Change username, password and dbname in
.env.local
DATABASE_URL=mysql://db_user:db_password@127.0.0.1:3306/db_name
-
Create the database manually or run
php bin/console doctrine:database:create
-
Create and give -rw rights to the following folders
public/uploads/assets
Don't forget to modify these entries in the .env.local :
- WKHTMLTOPDF_PATH
- MAILER_DSN
And all the other configurations for the API credentials
Migrate the database to the newest version
php bin/console doctrine:migrations:migrate
Check permissions for var/cache var/log, public/uploads
Add a new user admin
php bin/console app:reset-admin <email> <nom> <prenom> <password>
Update assets
php bin/console assets:install --symlink
Simply modify javascript in the file adhesion.html.twig
with the new values.