Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
artemsites committed Jun 1, 2024
1 parent c8089e4 commit 32c84c6
Showing 1 changed file with 21 additions and 14 deletions.
35 changes: 21 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 32c84c6

Please sign in to comment.