Uses SaltStack to provision a django application initally started from django-salted
- vagrant up
- vagrant ssh
- vim ~/.bash_aliases
- alias maxsim='source /usr/local/virtualenvs/maxsim/bin/activate;cd /srv/maxsim/'
- source ~/.bashrc
Now execute the command maxsim
, easy!
- pip install -r /srv/maxsim/requirements.txt
- pip freeze > /srv/maxsim/requirements.txt
- sudo salt-call state.highstate
- sudo chown -R vagrant:vagrant /usr/local/virtualenvs/maxsim/