-
Code recovery
-
Git
Connect with SSH key to your server.
Use the command :git clone https://github.com/MalronWall/OC_Fo-Back_P6.git
-
FTP
Download this repository.
Use a FTP client, for example FileZilla and connect to the server.
Use the FTP client to transfert the repository on your server.
-
-
Configuration
Update environnements variables in the .env file with your values. At the very least you need to define the SYMFONY_ENV=prod
-
Vendors installation
-
Composer
If you can use Composer in your server, use
composer install --no-dev -ao
for optimized installation of vendors.
If you can't use Composer, download Composer.phar and usephp composer.phar install --no-dev -ao
. -
FTP
If you can't use the both solutions, use your FTP client to download all vendors.
This solution is to be used only if no solution with Composer works.
-
-
Assets install
Run the command
yarn install
andyarn encore production
for assets. -
Database creation
Use the command
php bin/console doctrine:database:create
for database creation.
Use the commandphp bin/console doctrine:migrations:migrate
for creation of the tables.
Use the commandphp bin/console doctrine:fixtures:load
for load some data in database.
-
Notifications
You must be signed in to change notification settings - Fork 2
MalronWall/OC_Fo-Back_P6
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published