Micro blog created with django framework
Main purpose of this project is to build django reference point and to learn good django code practices
virtualenv
pip
django
git clone https://github.com/matoxxx/mblog.git
Navigate to:
cd mblog
virtualenv env
on Windows:
cd env/Scripts
activate
on Unix:
source env/bin/activate
pip install -r requirements.txt
python manage.py migrate
python manage.py loaddata mblogapp
python manage.py runsever <ip:port> # example: python manage.py runserver 127.0.0.1:8000
python manage.py dumpdata auth.user mblogApp > mblogApp/fixtures/mblogapp.json
python manage.py test
Download gevent - http://www.lfd.uci.edu/~gohlke/pythonlibs/#gevent
pip install gevent-1.0.2-cp27-none-win_amd64.whl
pip install locustio
locust -f stress.py --host=http://localhost
Visit locust dashboard
- user & group permissions
Matej Hocevar @matoxxx