Skip to content

Commit a65cd79

Browse files
authored
Update README.md
1 parent 1c3f993 commit a65cd79

File tree

1 file changed

+13
-10
lines changed

1 file changed

+13
-10
lines changed

README.md

Lines changed: 13 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,33 +5,36 @@ This is a minimal sample Flask and React starter code that demonstrates how both
55
The code is based on https://github.com/dternyak/React-Redux-Flask.
66

77
## Tutorial
8-
## Running The Code Locally
8+
9+
## Setting Up The Project
910

1011
1. Clone the reponsitory
1112
```bash
1213
git clone [TODO INSERT URL]
1314
```
1415
2. Import the project folder into your favorite editor (thats Visual Studio Code for us!)
15-
3. Link your PostgreSQL server by adding the environment variable ```DATABASE_URL``` to your system
16-
* For Linux based systems: ```export DATABASE_URL=[YOUR URL HERE]```
17-
* For Windows based systems: ```SET DATABASE_URL=[YOUR URL HERE]```
18-
4. Build the react.js front-end.
16+
17+
## Importing into VS Code
18+
19+
3. Build the react.js front-end.
1920
```bash
2021
npm run build
2122
```
22-
5. Create the SQL database
23+
4. Create the PostgreSQL database
2324
```bash
2425
python manage.py create_db
2526
```
26-
6. Start the Flask back-end server
27+
5. Start the Flask back-end server
2728
```bash
2829
python manage.py runserver
2930
```
30-
7. Check ```localhost:5000``` in your browser to view the web application.
31+
6. Check ```localhost:5000``` in your browser to view the web application.
32+
33+
## Deploying The Code To Azure
3134

32-
## Deploying The Code
35+
1. Go to the extensions tab on VS Code
3336

34-
1. [TODO] setting global environment variables in your system
37+
2. Install the recommended extensions that show up
3538

3639

3740
# Contributing

0 commit comments

Comments
 (0)