From 27966e72c5f4ed72c4eb1f5bd37b468c8d0ddcb4 Mon Sep 17 00:00:00 2001 From: lonkaars Date: Thu, 25 Feb 2021 10:39:26 +0100 Subject: setup process :tada: --- readme.md | 19 +++++++++++++++---- 1 file 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 -- cgit v1.2.3