Skip to content
Snippets Groups Projects
Commit bb1a80be authored by kaiyou's avatar kaiyou
Browse files

fix dev requirements

parent 63ea2b2e
No related branches found
No related tags found
No related merge requests found
Pipeline #3550 passed
......@@ -3,6 +3,7 @@
### Quickstart dev guide:
#### Dependencies:
Debian:
`
apt-get install python python-dev libmysqlclient-dev libpq-dev libxmlsec1-dev nodejs npm mariadb-server postgresql-libs python-pip python-virtualenv
......@@ -29,30 +30,32 @@ git clone https://forge.tedomum.net/acides/hiboo && cd hiboo
Create virtualenv and activate it:
`
mkdir venv && virtualenv venv && source venv/bin/activate
mkdir venv
virtualenv venv
source venv/bin/activate
`
Install dependencies:
`
pip install -r requirements.txt
pip install Werkzeug==0.16.0
pip install Pillow
pip install email_validator
`
Import databases:
`
export FLASK_APP=hiboo
flask db upgrade
`
Generate the static folder:
`
npm install; ./node_modules/.bin/webpack-cli
npm install
./node_modules/.bin/webpack-cli
`
Run:
`
export FLASK_APP=hiboo; flask run
export FLASK_APP=hiboo
flask run --reload
`
### Test instance
......
......@@ -22,4 +22,7 @@ psycopg2
jwcrypto
argon2_cffi
terminaltables
git+https://forge.tedomum.net/tedomum/axon.git
\ No newline at end of file
Werkzeug==0.16.0
Pillow
email_validator
git+https://forge.tedomum.net/tedomum/axon.git
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment