Commit 4bd7695b authored by Elliot Saba's avatar Elliot Saba
Browse files

Windows fixes. It works!

parent 06d40449
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -31,17 +31,17 @@ See [`docs/docker.md`](docs/docker.md) for a brief introduction to Docker, [`doc

# How to run this example code

**tl;dr** If you have make, just run `make initdata superuser` and answer the questions.
**tl;dr** If you're on Linux/MacOS and therefore have make, just run `make initdata superuser`.

If you don't have `make`, run this:
If you're on windows and don't have `make`, run this:
```
docker run -ti -v $(pwd):/pwd -w /pwd python python generate_env.py
docker run -ti -v "%cd%:/pwd" -w /pwd python python generate_env.py
docker-compose up --build -d
docker-compose exec app python manage.py initdata
docker-compose exec app python manage.py createsuperuser
```

These code segments will ask you some questions about passwords and whatnot, so answer the questions, and then it will ask you for information about a "super user", which is what you will login as into the admin interface.
These commands will ask you some questions about passwords and tokens and whatnot, so answer the questions, and then it will ask you for information about a "super user", which is what you will login as into the admin interface.

## More in-depth instructions