No description
Find a file
2025-02-11 05:57:44 +00:00
codemirror-element first commit 2024-03-04 15:05:35 +00:00
installation add README and COPYING 2025-02-10 12:20:28 +00:00
thinks remove unused git stuff 2025-02-11 05:57:44 +00:00
thinkserver Jujutsu/git integration 2025-02-10 10:05:00 +00:00
.gitignore add README and COPYING 2025-02-10 12:20:28 +00:00
COPYING add README and COPYING 2025-02-10 12:20:28 +00:00
gunicorn.conf.py.dist add gunicorn.conf.py.dist 2024-04-26 08:18:43 +00:00
manage.py first commit 2024-03-04 15:05:35 +00:00
README.md add README and COPYING 2025-02-10 12:20:28 +00:00
requirements.txt first commit 2024-03-04 15:05:35 +00:00

Thinkserver

This is licensed under the terms of the GNU Affero General Public License, v3.

Installation

These instructions are deliberately sketchy. I'm releasing this code in case someone else wants to use it but I'm not interested in it being a collaborative project or taking support or feature requests.

Everything is provided as-is.

This is a Django app, with some of the front-end interface written in Elm.

These instructions assume that the server will be installed at /srv/think.somethingorotherwhatever.com.

Run

pip install requirements.txt

Copy thinkserver/settings.py.dist to thinkserver/settings.py and fill in the settings at the end of the file.

Generate a secret string and put it in /srv/think.somethingorotherwhatever.com/secret_key.txt.

Run

python manage.py migrate
python manage.py collectstatic --noinput

Copy gunicorn.conf.py.dist to gunicorn.conf.py.

Copy installation/think_something.service and installation/think_something.socket to /etc/systemd/system.

Copy installation/thinkserver.nginx.conf to /etc/nginx/sites-available and then symbolic link that to /etc/nginx/sites-enabled.

Use Certbot to make a wildcard certificate for *.think.somethingorotherwhatever.com. How exactly this works depends on your hosting provider.