-
Notifications
You must be signed in to change notification settings - Fork 1
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
77008fd
commit 4568f04
Showing
2 changed files
with
10 additions
and
3 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 |
---|---|---|
@@ -1,7 +1,11 @@ | ||
## Setup | ||
1. Install dependencies with `pip install -r requirements.txt`. | ||
2. Create `.env` file in base directory with `DEBUG` and `SECRET_KEY` variables. | ||
3. Create `my.cnf` in base directory with variables required to connect to MySQL database. | ||
|
||
## Migrate Model Changes | ||
When you make changes to `models.py` files, you need to run the following commands to update your local DB: | ||
1. `python manage.py makemigrations` | ||
2. `python manage.py migrate` | ||
|
||
## Run | ||
Run `python manage.py runserver` to start the server. |
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
# React + Vite | ||
## Setup | ||
1. Install dependencies with `npm i`. | ||
2. Create `.env` file in base directory with the `VITE_CLIENT_ID` variable. | ||
|
||
React app created using Vite. | ||
## Run | ||
Run `npm run dev` to start the server. |