Skip to content

arudenko/django_fabric

Repository files navigation

Django Fabric (Ubuntu)

  1. Just wanted to create simple Fabric configuration to:

    • Install:
      • nginx
      • mysql
      • uwsgi
    • make all this work together
    • have django skeleton for quick projects
  2. It works from virtual environment

    • To Setup virtual environment:
      • python bootstrap.py djn_env;
      • Setup environment in PyCharm:
        • Preferences - > Project Settings -> Python Interpreter
        • Click "Add"
        • Select tts_env/bin/Python
      • to upgrade environment run python bootstrap.py djn_env one more time
  3. Vagrant Project has simple Vagrant file to test local instances. To spead up development it maps host folders to cache apt and virtualenv files.

  4. To run

    1. vagrant up && fab vagrant setup
    2. open http://88.88.88.88/admin/ in your browser
    3. Access Admin Data:
      • login: root
      • password: 123

Enjoy

About

Setup django, uwsgi, nginx on ubuntu

Resources

Stars

Watchers

Forks

Packages

No packages published