Skip to content

Commit

Permalink
add full paths, add optional superuser
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloodmallet committed Apr 30, 2019
1 parent 2ff52f0 commit 48c1d91
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,13 @@ pull requests.
5. Install requirements
- `cd bloodmallet` (navigate into the created directory)
- `python -m pip install --upgrade pip setuptools wheel` (update all basic tools)
- `(env)$ pip install -U -r requirements.txt` (install the actual requirements, have a look at the *_dev.txt file, too)
6. Start local django development server
- `(env)$ cd bloodmallet` (so you're in "bloodmallet/bloodmallet/")
- `(env)$ python manage.py runserver`
7. Open `http://127.0.0.1:8000` in your browser of choice. And code away! :tada:
- `(env)bloodmallet/$ pip install -U -r requirements.txt` (install the actual requirements, have a look at the *_dev.txt file, too)
6. Create local database and tables
- `(env)bloodmallet/$ cd bloodmallet` (so you're in "bloodmallet/bloodmallet/")
- `(env)bloodmallet/bloodmallet/$ python manage.py migrate`
7. Start local django development server
- `(env)bloodmallet/bloodmallet/$ python manage.py runserver`
8. Open `http://127.0.0.1:8000` in your browser of choice. And code away! :tada:

### Optional:
Maybe you want to [create a superuser](https://docs.djangoproject.com/en/2.2/intro/tutorial02/#creating-an-admin-user) for local development.

0 comments on commit 48c1d91

Please sign in to comment.