Mobile-Token 2.x tokenizer
sudo apt-get install libpq-dev postgresql build-essential redis-server \
redis-toolsWe need Python 3.6.1 or higher. Install it using this instruction.
So, your changes will affect instantly on the installed version
pip install cython
git clone [email protected]:Carrene/oath.cy.git
cd oath.cy
pip install -e .
cd path/to/wolf
pip install -e .For running tests, you should install development requirements too:
pip install -r requirements-dev.txtCreate a file named ~/.config/wolf.yml
db:
url: postgresql://postgres:postgres@localhost/wolf_dev
test_url: postgresql://postgres:postgres@localhost/wolf_test
administrative_url: postgresql://postgres:postgres@localhost/postgres
wolf db create --drop --basedata --mockupwolf [-c path/to/config.yml] db dropwolf [-c path/to/config.yml] db createOr, you can add --drop to drop the previously created database: TAKE CARE ABOUT USING THAT
wolf [-c path/to/config.yml] db create --dropwolf [-c path/to/config.yml] db schemawolf migrate upgrade headwolf [-c path/to/config.yml] db basedatawolf db mockup [count[prefix]]
wolf [-c path/to/config.yml db mockup 200 01pytestUsing python builtin http server
wolf [-c path/to/config.yml] serve./gunicorn