Futureporn monorepo
https://futureporn.net/
CJ_Clippy 8aa8f231ed | ||
---|---|---|
.gitea/workflows | ||
.kamal/hooks | ||
.vscode | ||
config | ||
dockerfiles | ||
packages | ||
services | ||
.cache_ggshield | ||
.dockerignore | ||
.gitguardian.yaml | ||
.gitignore | ||
.gitmodules | ||
.npmrc | ||
.pre-commit-config.yaml | ||
.ruby-version | ||
ARCHITECHTURE.md | ||
LICENSE | ||
MANTRAS.md | ||
README.md | ||
devbox.json | ||
devbox.lock | ||
docker-compose.yml | ||
package.json | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
requirements.txt |
README.md
futureporn.net
Source Code for https://futureporn.net
See ./ARCHITECTURE.md for an overview of the infrastructure components.
Getting Started
The main gist is as follows.
-
install docker
wget -O- get.docker.com | bash
-
Install devbox
curl -fsSL https://get.jetify.com/devbox | bash
-
Install development environment & packages using devbox.
devbox install
-
Run
docker compose up --watch
-
Visit http://localhost:4000
If all went well, editing source code will automatically affect the website running in your browser.
backup/restore dev database
@see https://stackoverflow.com/a/29913462/1004931
backup
Use devbox helper script
devbox run backup
restore
cat ./backups/your-backup.sql | docker exec -i postgres_db psql -U postgres
Metrics Notes
Keeping track of metrics we want to scrape using Prometheus