Skip to content

Commit 2e97a21

Browse files
committed
backendreinstallation process & default login
1 parent 2fb85ad commit 2e97a21

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ python manage.py migrate
3636
```bash
3737
python manage.py seed
3838
```
39-
- Create a superuser:
39+
- Create a superuser (optional):
4040
```bash
4141
python manage.py createsuperuser
4242
```
@@ -55,11 +55,23 @@ python manage.py seed
5555
$ docker-compose down
5656
```
5757

58+
### Reinstall backend
59+
- Shut down the app (if running):
60+
```bash
61+
$ docker-compose down
62+
```
63+
- Delete docker instances (WARNING: delete all docker instances):
64+
```bash
65+
$ docker volume prune
66+
```
67+
- Repeat steps starting from [`Getting Started > Activate virtualenv`](https://github.com/CodeForPhilly/prevention-point#back-end)
68+
5869
### Front-end
5970
- Make sure you have [`node (>=10.15.3)`](https://nodejs.org/en/) and [`yarn (>=1.15.2)`](https://yarnpkg.com/en/docs/install) installed
6071
- From the project's root directory, `cd frontend`
6172
- Run `yarn` to install dependencies
6273
- Run `yarn dev` and navigate to `localhost:1234`
74+
- Default username / password: admin / password123
6375

6476
Other tools
6577
## Links

0 commit comments

Comments
 (0)