-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c8089e4
commit 32c84c6
Showing
1 changed file
with
21 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,25 +18,39 @@ git clone [email protected]:artemsites/cms-sheets.git | |
``` | ||
DATABASE_URL="mysql://username:[email protected]:3306/dbname" | ||
``` | ||
With mysql version: | ||
With mysql version: | ||
``` | ||
DATABASE_URL="mysql://username:[email protected]:3306/dbname?serverVersion=5.7.21" | ||
``` | ||
|
||
## Upload code to your server | ||
One level higher than your public folder for the site! | ||
|
||
## Create link to public | ||
If the root folder on your server is set to public_html: | ||
``` | ||
ln -s public public_html | ||
``` | ||
|
||
## Update vendor libs | ||
``` | ||
composer update | ||
``` | ||
## Install Symfony at local pc for development | ||
https://symfony.com/doc/current/setup.html | ||
# if shared hosting & composer installed to ~/.local/bin/composer | ||
php8.3 $(which ~/.local/bin/composer) update | ||
``` | ||
|
||
## Create migration Entities (src/Entity) to your db (with mysql connect) | ||
## Create migration Entities (src/Entity) to your db (with mysql connect) | ||
``` | ||
php bin/console make:migration | ||
php bin/console doctrine:migrations:migrate | ||
# if shared hosting | ||
php8.3 bin/console make:migration | ||
php8.3 bin/console doctrine:migrations:migrate | ||
``` | ||
|
||
|
||
## Create site files in Google Drive: | ||
1 Create site folder for site files in Google Drive | ||
somesite.com | ||
|
@@ -45,16 +59,9 @@ php bin/console doctrine:migrations:migrate | |
3 Create in Google Drive: | ||
somesite.com/Pages & Menu | ||
|
||
## Install Symfony at local pc for development | ||
https://symfony.com/doc/current/setup.html | ||
|
||
|
||
## Upload code to your server | ||
One level higher than your public folder for the site! | ||
|
||
## Create link to public | ||
If the root folder on your server is set to public_html: | ||
``` | ||
ln -s public public_html | ||
``` | ||
--- | ||
|
||
# Features | ||
|