aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-02-25 10:39:26 +0100
committerlonkaars <l.leblansch@gmail.com>2021-02-25 10:39:26 +0100
commit27966e72c5f4ed72c4eb1f5bd37b468c8d0ddcb4 (patch)
tree0df7c20212684d7fe3ecb8ae30993e5575a4ad1a
parent8a74f856e8878ca77682e75d8ec1ee6fa82cf648 (diff)
setup process :tada:
-rw-r--r--readme.md19
1 files changed, 15 insertions, 4 deletions
diff --git a/readme.md b/readme.md
index 0eae900..8614305 100644
--- a/readme.md
+++ b/readme.md
@@ -45,21 +45,32 @@ An example database can be found on [Google Docs](https://docs.google.com/spread
0. `git clone https://github.com/lonkaars/po-4-op-een-rij`
1. Make sure you have [python](https://python.org/downloads) (with pip and venv) installed.
2. Make sure you have [nodejs](https://nodejs.org/en/download) (with npm) installed.
-2. Make sure you have [nginx](https://nginx.org/en/) installed.
-3. Install typescript, react-scripts and yarn:
+3. Make sure you have [nginx](https://nginx.org/en/) installed.
+4. Make sure you have [make](https://www.gnu.org/software/make/) and the gnu c compilers [gcc](https://gcc.gnu.org/) installed (most distro's will have these by default).
+5. Install typescript, react-scripts and yarn:
```sh
npm i -g typescript yarn
```
-4. Create a new python virtual environment and install pip modules:
+6. Create a new python virtual environment and install pip modules:
```sh
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
```
-5. Install node modules:
+7. Install node modules:
```sh
yarn
```
+8. Build voerbak:
+ ```sh
+ cd voerbak
+ make
+ ```
+9. Initialize database:
+ ```sh
+ cd database
+ ./init_db.sh
+ ```
## How to start