Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 984 Bytes

README.md

File metadata and controls

39 lines (27 loc) · 984 Bytes

Maxsim

Uses SaltStack to provision a django application initally started from django-salted

Tools needed

Getting started

First steps

  • vagrant up
  • vagrant ssh

Create alias

  • vim ~/.bash_aliases
  • alias maxsim='source /usr/local/virtualenvs/maxsim/bin/activate;cd /srv/maxsim/'
  • source ~/.bashrc

Now execute the command maxsim, easy!

usefull commands

  • 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/