/knowledge-base

Knowledge base watching and scraping service.

Primary LanguagePython

knowledge-base

Virtual Environment

Create and activate the virtual environment:

python -m venv venv
source venv/bin/activate

Install the dependencies:

pip install -r requirements.txt

Database

The migrations folder was initialized using:

flask db init

Then the versions folder populated using:

flask db migrate -m "Initial revision"

Finally run the migrations:

flask db upgrade

Debugging

For development you can run the app with auto-reload for the .py files:

flask --app app.py --debug run