Skip to content

Commit 9af431d

Browse files
committed
Merge branch 'master' of github.com:JacobGrisham/Finance-Full-Stack-Web-App-using-Flask-and-SQLite
2 parents e0fb883 + 1d13ee3 commit 9af431d

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,15 +50,16 @@
5050
$ pipenv install -r requirements.txt
5151
```
5252
- You'll need to register for an API key in order to be able to query IEX’s data
53-
- [Register](iexcloud.io/cloud-login#/register/) for an account
54-
- Enter your email address and a password, and click “Create account”
55-
- On the next page, scroll down to choose the Start (free) plan
56-
- Once you’ve confirmed your account via a confirmation email, sign in to iexcloud.io
57-
- Click API Tokens
58-
- Copy the key that appears under the Token column (it should begin with pk_)
59-
- Create a .env file and paste the following code into it
53+
- [Register](iexcloud.io/cloud-login#/register/) for an account
54+
- Enter your email address and a password, and click “Create account”
55+
- On the next page, scroll down to choose the Start (free) plan
56+
- Once you’ve confirmed your account via a confirmation email, sign in to iexcloud.io
57+
- Click API Tokens
58+
- Copy the key that appears under the Token column (it should begin with pk_) into the `<value>` in the next step
59+
- Create a .env file and paste the following into it: `API_KEY=<value>`
60+
- Activate the virtual environment
6061
```
61-
$ API_KEY=<value>
62+
$ pipenv shell
6263
```
6364
- To start the web server, execute (without debugging):
6465
```
@@ -70,7 +71,7 @@ $ export FLASK_APP=application.py
7071
$ flask run
7172
```
7273
- Lastly, create a SQL database named `finances.db`
73-
- To initialize the SQL database within application.py, add `db.create_all()` below `Initialize Schemas`. Once the code runs and the you've verified the database exists, remove `db.create_all()`
74+
- To initialize the SQL database within application.py, add `db.create_all()` below `Initialize Schemas`. Once the code runs and the you've verified the database exists, remove `db.create_all()`
7475
- To initialize the SQL database in the python shell, execute:
7576
```
7677
$ python

0 commit comments

Comments
 (0)