Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update c-beamd/ path #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions c-beamd/start
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ cd /opt/c-beamd/c-beamd/cbeamd
python /opt/c-beamd/c-beamd/manage.py makemigrations
python /opt/c-beamd/c-beamd/manage.py migrate

echo "from django.contrib.auth.models import User; User.objects.filter(email='[email protected]').delete(); User.objects.create_superuser('admin', '[email protected]', 'fooderbar23')" | python /opt/c-beamd/manage.py shell
echo "from django.contrib.auth.models import User; user = User.objects.get(username='admin'); user.set_password('foobar23'); user.save()" | python /opt/c-beamd/manage.py shell
echo "from cbeamd.models import Status; s = Status(); s.save()" | python /opt/c-beamd/manage.py shell
echo "from cbeamd.models import Mission; m = Mission(); m.short_description = 'foo'; m.save()" | python /opt/c-beamd/manage.py shell
echo "from django.contrib.auth.models import User; User.objects.filter(email='[email protected]').delete(); User.objects.create_superuser('admin', '[email protected]', 'fooderbar23')" | python /opt/c-beamd/c-beamd/manage.py shell
echo "from django.contrib.auth.models import User; user = User.objects.get(username='admin'); user.set_password('foobar23'); user.save()" | python /opt/c-beamd/c-beamd/manage.py shell
echo "from cbeamd.models import Status; s = Status(); s.save()" | python /opt/c-beamd/c-beamd/manage.py shell
echo "from cbeamd.models import Mission; m = Mission(); m.short_description = 'foo'; m.save()" | python /opt/c-beamd/c-beamd/manage.py shell

python /opt/c-beamd/c-beamd/manage.py runserver 0.0.0.0:8000