diff --git a/README.md b/README.md index bee3e34..b1e2f47 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,11 @@ This app is an endless user-based level and XP (experience points). It uses SQli ### Getting Started -1. Clone the repository -2. Install the requirements: `pip install -r requirements.txt` -3. Run the app: `python app.py` -4. Go to `localhost:8081` on your web browser \ No newline at end of file +1. Clone the repository. +2. Install the requirements: `pip install -r requirements.txt`. +3. Run the app: `python app.py`. +4. Create a migration using `flask db init`. +5. Create a migration script using `flask db migrate`. +6. Apply the migration using `flask db upgrade`. +7. Run the app using `flask run`. +8. Open `localhost:8081` on your web browser. \ No newline at end of file diff --git a/docs/index.md b/docs/index.md index bee3e34..b1e2f47 100644 --- a/docs/index.md +++ b/docs/index.md @@ -4,7 +4,11 @@ This app is an endless user-based level and XP (experience points). It uses SQli ### Getting Started -1. Clone the repository -2. Install the requirements: `pip install -r requirements.txt` -3. Run the app: `python app.py` -4. Go to `localhost:8081` on your web browser \ No newline at end of file +1. Clone the repository. +2. Install the requirements: `pip install -r requirements.txt`. +3. Run the app: `python app.py`. +4. Create a migration using `flask db init`. +5. Create a migration script using `flask db migrate`. +6. Apply the migration using `flask db upgrade`. +7. Run the app using `flask run`. +8. Open `localhost:8081` on your web browser. \ No newline at end of file