Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment
Blinkenshell IRCd listen port?

Edit History Actions Discussion

Howto/Django

Django

To run a Django site on Blinkenshell you need a Info/Supporter account.

To get started with a new site run the following commands on the buildserver:

cd ~
python3 -m venv django
cd django/
source bin/activate
python3 -m pip install Django
django-admin startproject myappname

In your settings.py: ALLOWED_HOSTS = ["username.blinkenshell.org"]

Contact independence after you created the project and include what url path you want the app to run on like /blog/ for ex, some configuration needs to be added to web server

To reload config: touch --no-dereference ~/django/myappname/reload