Long-term memory for coders. Share and store code snippets.
Self-host this app for $0.99/mo only!
cd sniptpython3 -m venv ~/.virtualenvs/sniptsource ~/.virtualenvs/snipt/bin/activatepip install -r requirements.txtbrew install postgresqlbrew services start postgresqlcreateuser sniptcreatedb snipt --owner=sniptcp settings_local.py-template settings_local.py // modify if necessarypython manage.py migratemake rundokku apps:create sniptdokku postgres:create sniptdokku postgres:link snipt sniptscp snipt.dump nsergeant@server.nicksergeant.com:/home/nsergeantdokku postgres:connect snipt < snipt.dumpdokku domains:add snipt snipt.netdokku storage:mount snipt /var/lib/dokku/data/storage/snipt-whoosh:/app/snipt-whooshdokku config:set DOKKU_LETSENCRYPT_EMAIL=support@snipt.net SECRET_KEY=<some-secret-key> USE_SSL=true WHOOSH_PATH=/app/snipt-whoosh/whoosh_indexgit remote add dokku dokku@server.nicksergeant.com:sniptgit push dokkuYou can click the button below to automatically deploy Snipt to Heroku.
heroku createheroku addons:add heroku-postgresql:hobby-devheroku addons:add searchboxheroku config:add SECRET_KEY=<some-secret-key>git push herokuheroku run python manage.py migrateheroku run python manage.py createsuperusergit clone https://github.com/nicksergeant/sniptcd sniptgit checkout herokuheroku git:remote -a <your-instance-name>git push heroku heroku:masterIf you want email support (for password resets, server errors, etc):
heroku addons:create postmark:10kheroku run addons:open postmark -> use an email you control and confirm itheroku config:add POSTMARK_EMAIL=<email_from_above>If you want to disable user-facing signup:
heroku config:set DISABLE_SIGNUP=trueIf you want to enable Django's DEBUG mode:
heroku config:add DEBUG=trueIf you want to enable SSL on a custom domain after you've configured your Heroku SSL cert:
heroku config:add USE_SSL=truePlease login to review this project.
No reviews for this project yet.
Simple pastebin service with convenient api and CLI.
Beautiful, simple and easy to deploy Pastebin with optional…
Clientside encrypted pastebin using tweetnacl.
Comments (0)
Please login to join the discussion on this project.