Commit f924e623 authored by totte's avatar totte
Browse files

Move TODO.md issues to issue tracker

parent 47ad33c3
......@@ -16,5 +16,4 @@ nginx.production.conf
nginx.staging.conf
README.md
CONTRIBUTING.md
TODO.md
db.sqlite3
Create ready-to-use images for SD cards with Raspbian (2018-11-13-raspbian-stretch-lite.img)
```
$ ssh enabled
# usermod --login totte --move-home --home /home/totte pi
# groupmod --new-name totte pi
$ sudo raspi-config # set hostname to eevee, flareon, jolteon, or vaporeon
$ mkdir ~/.ssh
$ chmod u=rwx,g=,o= .ssh -v
$ touch ~/.ssh/authorized_keys
$ chmod u=rw,g=,o= .ssh/authorized_keys -v
$ sudo apt update
$ sudo apt upgrade
$ sudo apt autoremove
$ sudo apt autoclean
$ sudo apt install git htop python3-pip ufw certbot
$ sudo certbot certonly --manual --preferred-challenges dns -d staging.chakralinux.org
```
/etc/hosts.deny
/etc/hosts.allow
ufw_whitelist.sh
# Docker & Compose
```
$ curl -fsSL get.docker.com -o get-docker.sh
$ less get-docker.sh
$ sh get-docker.sh
$ sudo usermod pi -aG docker
$ pip3 install --user docker-compose
```
# DataDog
```
$ DD_API_KEY=foo bash -c "$(curl -L https://raw.githubusercontent.com/DataDog/datadog-agent/master/cmd/agent/install_script.sh)"
```
----
- Rename to `foyer.git`
- Set up four Raspberry Pi 3 Model B
- eevee, 192.168.1.111
- flareon, 192.168.1.112
- jolteon, 192.168.1.113
- vaporeon, 192.168.1.114
- Write `/etc/ssh/sshd_config`
- Create ecdsa key for `ssh://` access from the build server to the Raspberry Pi servers
- ~~Set environment variables in https://code.chakralinux.org/totte/frontpage/settings/ci_cd or `.env` instead of docker-compose.yml~~
- ~~Set up port forwarding for ssh:// (22) but only allow the build server to connect from outside the LAN~~
- ~~Set up port forwarding for https:// (443) but only allow the Fastly CDN IPs to connect from outside the LAN~~
- ~~Set up Fastly CDN services for staging.chakralinux.org~~ and production.chakralinux.org
- Decide on a way to handle secrets (`.env` files, with an example in the README.md?)
- Add Bootstrap (https://getbootstrap.com/)
- Ponder fixtures and migrations - production should just keep rolling, but it may be a good idea to test that data
while still in development, locally
- Ponder when to use `flush`
- Add (Celery?) way to run mirror check on a regular basis
- Add DataDog integration in `settings.py`
- Add Sentry integration in `settings.py`
- Build DataDog agent for Raspberry Pi
- DataDog
- Fastly integration
- staging.chakralinux.org (staging)
- www.chakralinux.org (production)
- GitLab integration
- GitLab Runner integration
- Gunicorn integration
- Kubernetes integration
- Nginx integration
- PostgreSQL integration
- Python integration
- Sentry integration
- SSH integration
- StatusPage integration
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment