dsd-seenode
A plugin for deploying Django projects to seenode, using django-simple-deploy.
For full documentation, see the documentation for django-simple-deploy.
Current status
This plugin is in a pre-1.0 development phase. If you use it and want to share feedback, please feel free to open an issue.
Configuration-only deployment
- Configure your project, and push it to a GitHub repository:
- Install
dsd-seenode, adddjango_simple_deploytoINSTALLED_APPS, and runmanage.py deploy:
$ pip install dsd-seenode # Add django_simple_deploy to INSTALLED_APPS. $ python manage.py deploy
- At this point, your project will be configured for deployment to seenode. You can see all the changes that were made during the configuration process by running
git statusandgit diff. When you're satisfied with the changes, commit them.
$ git add . $ git commit -m "Configured for deployment to seenode."- Push your project to a GitHub repository.
- Install
- Create a database
- From your seenode dashboard, create a database. (I've tested this with Postgres, but MySQL should work as well.)
- In the dashboard page for your database, go to the Connection tab, and click URI in the dropdown. Copy the database URI; you'll need it in a moment.
- Create a web service
- From your seenode dashboard, create a Web service.
- Connect the Web service to your project's GitHub repository. (If this is your first deployment to seenode, you'll need to give seenode permission to find this repository. I didn't see any red flags in the permissions requested; if you do, please open an issue and share your concerns.)
- Set Build command to:
./build.sh - Set Start command to:
gunicorn <project-name>.wsgi --bind 0.0.0.0:80(Here,<project-name>is the name that you used when runningdjango startproject. It's the name of the folder where wsgi.py is saved.) - Set Port to:
80- Add the following block to Environment variables. Set your own secret key, and paste the database URI you copied from your dashboard earlier for
DATABASE_URL:
- Add the following block to Environment variables. Set your own secret key, and paste the database URI you copied from your dashboard earlier for
ON_SEENODE=1 DEBUG=False SECRET_KEY=<secret-key> DATABASE_URL=<database-uri>
- Click Continue.
- Choose a pricing tier, and click Start free trial, or Create instance. Your project should start to deploy automatically.
- Open your deployed project by clicking the three dots next to your web service and click Open service URL. Or, in your Web service dashboard go to Domains, and click under Default domain.
Destroying your project
If this was a practice or test deployment and you want to destroy your remote resources:
- Go to Web service > Settings > Delete service
- Go to Database service > Settings > Delete service
Remember to destroy both services.
Helpful seenode docs
Metadata
Release files for dsd-seenode 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dsd_seenode-0.2.0.tar.gz | 10.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dsd_seenode-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.4 kB
Release files / dsd_seenode-0.2.0.tar.gz
| Download URL | dsd_seenode-0.2.0.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bac2a4df642c23742440c452c77d16d4c5b9fbc0bf7ea80e7f350e6b4c2ce048
|
|
BLAKE2b-256 checksum How to use checksums |
3802c3136c6ec000ef442448aa65e92847cd3c77e1d4939ea5789f6080997f8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|
Release files / dsd_seenode-0.2.0-py3-none-any.whl
| Download URL | dsd_seenode-0.2.0-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
04671d830a7ff5da881365d656440ca0896c7dbbea9ea71c3897479b3a755188
|
|
BLAKE2b-256 checksum How to use checksums |
e3e92d51cd8072eaa7153191785a3987b7302371ee13a514766ca638dae0271d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.0
|