diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-02-25 10:39:26 +0100 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-02-25 10:39:26 +0100 |
commit | 27966e72c5f4ed72c4eb1f5bd37b468c8d0ddcb4 (patch) | |
tree | 0df7c20212684d7fe3ecb8ae30993e5575a4ad1a /readme.md | |
parent | 8a74f856e8878ca77682e75d8ec1ee6fa82cf648 (diff) |
setup process :tada:
Diffstat (limited to 'readme.md')
-rw-r--r-- | readme.md | 19 |
1 files changed, 15 insertions, 4 deletions
@@ -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 |