Commit e7958252 by tarokkk

devenv: add environment vars to .profile

parent d42798a4
...@@ -55,6 +55,12 @@ do ...@@ -55,6 +55,12 @@ do
sudo start $i sudo start $i
done done
cat <<A >>~/.profile
export DJANGO_SETTINGS_MODULE=cloud.settings.dev
export DJANGO_DB_PASSWORD=asjklddfjklqjf
export DJANGO_SECRET_KEY=asjklddfjklqjfasjklddfjklqjfasjklddfjklqjf
A
. ~/.profile
set -x set -x
cd /opt/webadmin/cloud cd /opt/webadmin/cloud
./manage.py syncdb --noinput ./manage.py syncdb --noinput
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment