Skip to content
Snippets Groups Projects
README.md 1.26 KiB
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:  
Jeremy's avatar
Jeremy committed
apt-get install python python-dev libmysqlclient-dev libpq-dev libxmlsec1-dev nodejs npm mariadb-server postgresql-libs python-pip python-virtualenv
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 nodejs npm mariadb-server postgresql-libs  
dnf install -y mysql-devel postgresql-devel xmlsec1-devel python3-devel libtool-ltdl-devel nodejs
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:  
Jeremy's avatar
Jeremy committed
pip install -r requirements.txt
pip install Werkzeug==0.16.0
pip install Pillow
pip install email_validator
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  
`

### Test instance

Our test instance is running at: https://auth.test.tedomum.net

You can find some test services at :

 - https://write.test.tedomum.net
 - https://seafile.test.tedomum.net
 - https://nextcloud.test.tedomum.net
 - https://riot.test.tedomum.net

Please contact us if you want specific permissions on the test instance.