You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Despite my fix in #18 , now with dokku 0.4.x I am having problems pushing the same Procfile with commented out lines:
remote: /usr/local/bin/dokku: line 112: [[: # b) after you have a migration script from : syntax error: operand expected (error token is "# b) after you have a migration script from ")
remote: /usr/local/bin/dokku: line 177: # b) after you have a migration script from : syntax error: operand expected (error token is "# b) after you have a migration script from ")
To [email protected]:softdispdjango-dev
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:softdispdjango-dev'
The Procfile:
web: python manage.py collectstatic --noinput; gunicorn -c gunicorn_config.py main.wsgi
cronloop: python dashboard/cron/cron_loop.py
#weblocal: gunicorn main.wsgi
# a) if you change the model, run this to generate a migration script:
#export PYTHONPATH=$PYTHONPATH:$PWD;export DJANGO_SETTINGS_MODULE=main.settings;django-admin makemigrations --dry-run
# repeat without the --dry-run
# b) after you have a migration script from #a above, run this:
#python manage.py migrate --fake-initial
# run this from cron to take health snapshots (every 10 mins?):
#healthsnapshot: python dashboard/cron/take_health_snapshot.py
# run this from cron to take newrelic snapshots (every 10 mins?):
#newrelicsnapshot: python dashboard/cron/take_newrelic_snapshot.py
# run this from cron to delete old health snapshots (every 24h?):
#prunehealthsnapshots: python dashboard/cron/delete_old_data_snapshots.py
The text was updated successfully, but these errors were encountered:
Despite my fix in #18 , now with dokku 0.4.x I am having problems pushing the same Procfile with commented out lines:
The Procfile:
The text was updated successfully, but these errors were encountered: