Add README
This commit is contained in:
parent
f321099af6
commit
3fea0a5a1b
1 changed files with 29 additions and 0 deletions
29
README.md
Normal file
29
README.md
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# Gear Orders
|
||||
|
||||
## Running in dev
|
||||
|
||||
Run flask
|
||||
```bash
|
||||
$ pipenv run python flask/app.py
|
||||
```
|
||||
Run caddy
|
||||
```bash
|
||||
$ caddy run
|
||||
```
|
||||
Run vite
|
||||
```bash
|
||||
$ cd flask/vite
|
||||
$ vite dev
|
||||
```
|
||||
|
||||
## Helpful Commands
|
||||
|
||||
Create database migration
|
||||
```bash
|
||||
$ pipenv run pw_migrate create add_user_photo_url --auto --database 'sqlite:///db.sqlite3'
|
||||
```
|
||||
|
||||
Migrate database
|
||||
```bash
|
||||
$ pipenv run pw_migrate migrate --database 'sqlite:///db.sqlite3'
|
||||
```
|
||||
Loading…
Reference in a new issue