![]() |
11 лет назад | |
---|---|---|
flaskbb | 11 лет назад | |
logs | 11 лет назад | |
.gitignore | 11 лет назад | |
AUTHORS | 11 лет назад | |
CHANGES | 11 лет назад | |
LICENSE | 11 лет назад | |
Makefile | 11 лет назад | |
README.md | 11 лет назад | |
manage.py | 11 лет назад | |
requirements.txt | 11 лет назад | |
setup.py | 11 лет назад | |
wsgi.py | 11 лет назад |
FlaskBB is a forum software written in python using the micro framework Flask.
Create a virtualenv
Install virtualenvwrapper with your package manager or via
sudo pip install virtualenvwrapper
Add these lines to your .bashrc
export WORKON_HOME=$HOME/.virtualenvs # Location for your virtualenvs
source /usr/local/bin/virtualenvwrapper.sh
Create a new virtualenv
mkvirtualenv -a /path/to/flaskbb -p $(which python2) flaskbb
and finally activate it
workon flaskbb
For more options visit the documentation here.
Install the dependencies
pip install -r requirements.txt
Create the development config
cp flaskbb/configs/development.py.example flaskbb/configs/development.py
Create the database with some example content
python manage.py createall
Run the development server
python manage.py runserver
Visit localhost:8080
/r/flask, Flask and it's extensions.