Django migrations

This commit is contained in:
adi 2017-03-22 15:26:40 +01:00
parent b620a6e347
commit e0ab9cb7aa

View file

@ -20,9 +20,10 @@ sudo chown vagrant:vagrant /srv
sudo sed -i '$a cd /srv/django-markdownx/' ~/.bashrc
sudo sed -i '$a workon django-markdownx' ~/.bashrc
# NOTE: Install Node modules & compile static files
# NOTE: Install Node modules, compile static files and run migrations
cd /srv/django-markdownx/
npm install
npm run dist
./manage.py migrate
echo -e '\e[33;1;5mDONE!\e[0m \e[33;1;3m Connect using "vagrant ssh" \e[0m'