Skip to content
Snippets Groups Projects
README.md 818 B
Newer Older
Jae Beojkkoch's avatar
Jae Beojkkoch committed
# Hiboo

### Quickstart dev guide:

Jae Beojkkoch's avatar
Jae Beojkkoch committed
#### Dependencies:  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
Debian:  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
apt install git python python-virtualenv python-pip node npm mariadb-server postgresql-devel  
Jae Beojkkoch's avatar
Jae Beojkkoch committed

Jae Beojkkoch's avatar
Jae Beojkkoch committed
Arch:  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
pacman -S git python python-pip python-virtualenv node npm mariadb-server postgresql-libs  
Fedora:  
`
dnf install -y mysql-devel postgresql-devel xmlsec1-devel python3-devel libtool-ltdl-devel
`

Jae Beojkkoch's avatar
Jae Beojkkoch committed
---

#### Installation:

Jae Beojkkoch's avatar
Jae Beojkkoch committed
Clone Hiboo:  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
git clone https://forge.tedomum.net/acides/hiboo && cd hiboo 
Jae Beojkkoch's avatar
Jae Beojkkoch committed
Create virtualenv and activate it:  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
mkdir venv && virtualenv venv && source venv/bin/activate  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
Install dependencies:  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
pip install -r requirements.txt  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
Import databases:
`
flask db upgrade
`

Jae Beojkkoch's avatar
Jae Beojkkoch committed
Generate the static folder:  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
npm install; ./node_modules/.bin/webpack-cli  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
Run:  
Jae Beojkkoch's avatar
Jae Beojkkoch committed
export FLASK_APP=hiboo; flask run