From 2e97a21977ac279486eefc7d7627153ab2805f9e Mon Sep 17 00:00:00 2001 From: TriStarGod Date: Tue, 17 Dec 2019 18:20:28 -0500 Subject: [PATCH 1/3] backendreinstallation process & default login --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 55e4d031..11c7b929 100644 --- a/README.md +++ b/README.md @@ -36,7 +36,7 @@ python manage.py migrate ```bash python manage.py seed ``` -- Create a superuser: +- Create a superuser (optional): ```bash python manage.py createsuperuser ``` @@ -55,11 +55,23 @@ python manage.py seed $ docker-compose down ``` +### Reinstall backend +- Shut down the app (if running): +```bash +$ docker-compose down +``` +- Delete docker instances (WARNING: delete all docker instances): +```bash +$ docker volume prune +``` +- Repeat steps starting from [`Getting Started > Activate virtualenv`](https://github.com/CodeForPhilly/prevention-point#back-end) + ### Front-end - Make sure you have [`node (>=10.15.3)`](https://nodejs.org/en/) and [`yarn (>=1.15.2)`](https://yarnpkg.com/en/docs/install) installed - From the project's root directory, `cd frontend` - Run `yarn` to install dependencies - Run `yarn dev` and navigate to `localhost:1234` + - Default username / password: admin / password123 Other tools ## Links From 253ff6bf2365b3e648c3aee98ca9fa5ac294307b Mon Sep 17 00:00:00 2001 From: D A Date: Fri, 20 Mar 2020 01:20:17 -0400 Subject: [PATCH 2/3] Adding Merge convention As requested by @MikeyManoguerra --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 0c9f849e..4a508fa2 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,10 @@ This project implements the [Scripts To Rule Them All](https://github.com/github * `script/setup` — Run after `script/server` to initialize local database with seed data * `script/update` — Run after changing code or switching branches to refresh server +## Merges + +Once your branch is ready to be merged, request merge approval from two other users. After approvals are received, proceed to merge the branch. + Other tools ## Links [Wiki](https://github.com/CodeForPhilly/prevention-point/wiki) From d8c9226819e0aaa306349a6d4ac896d7e4402aca Mon Sep 17 00:00:00 2001 From: D A Date: Fri, 20 Mar 2020 01:21:57 -0400 Subject: [PATCH 3/3] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4a508fa2..f25eae28 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ This project implements the [Scripts To Rule Them All](https://github.com/github ## Merges -Once your branch is ready to be merged, request merge approval from two other users. After approvals are received, proceed to merge the branch. +Once your branch is ready to be merged, request merge approval from one other user. After approval is received, proceed to merge the branch. Other tools ## Links