Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMKuehne committed Dec 18, 2024
1 parent acbd112 commit fb9df46
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1-e4a83e66
0.1-acbd1126
2 changes: 1 addition & 1 deletion embark/users/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ def activate_user(user, token) -> bool:
| Q(codename="porter_permission")
| Q(codename="reporter_permission")
| Q(codename="dashboard_permission_minimal")
| Q(codename="dashboard_permission_advance")
| Q(codename="dashboard_permission_advanced")
)
user.user_permissions.set(default_permission_set)
user.save()
Expand Down
4 changes: 4 additions & 0 deletions run-server.sh
Original file line number Diff line number Diff line change
Expand Up @@ -231,6 +231,10 @@ echo -e "\n[""${BLUE} JOB""${NC}""] Starting runapscheduler"
pipenv run ./manage.py runapscheduler | tee -a /var/www/logs/scheduler.log &
sleep 5

# create admin superuser
echo -e "\n[""${BLUE} JOB""${NC}""] Creating Admin account"
pipenv run ./manage.py createsuperuser --noinput

echo -e "\n[""${BLUE} JOB""${NC}""] Starting Apache"
pipenv run ./manage.py runmodwsgi --user www-embark --group sudo \
--host "${BIND_IP}" --port="${HTTP_PORT}" --limit-request-body "${FILE_SIZE}" \
Expand Down

0 comments on commit fb9df46

Please sign in to comment.