(lots of tech debts incoming)
- Passwordless sudo
- Python 3.7
- A text editor
- Smileys :)
python3 -m venv .venv
source .venv/bin/activatepython3 -m pip install -r requirements.txtcp .example.env .env
cp users.example.json users.json(just use adduser)
(just hop on Discord or something)
Replace user_email with their email and unix_username with their unix username
API_PASSWD: set whatever you want
SERVER_ADMIN: user that is running this Python program (needs sudo perms too)
OAUTH2_DOMAIN: domain that point to this program
VSCODE_DOMAIN: domain that point to nginx in order to route requests (can leave this blank atm)
EXPIRE_TIME: minutes after code-server expired to shutdown
After you have acquired these sacred objects please put them in the following order (in .env):
GITHUB_CLIENT_ID: GitHub client ID
GITHUB_CLIENT_SECRET: GitHub client secret
You can set DEBUG to true if you want Popen's logs to output to stdout
Step 7: Watch this
After you have set this up, please setup nginx for user routing