fp/README.md

46 lines
980 B
Markdown
Raw Normal View History

2024-04-22 00:14:48 +00:00
# futureporn.net
2024-02-05 22:13:02 +00:00
2024-07-25 13:53:52 +00:00
[![Built with Devbox](https://www.jetify.com/img/devbox/shield_galaxy.svg)](https://www.jetify.com/devbox/docs/contributor-quickstart/)
Source Code for https://futureporn.net
2025-01-11 03:10:04 +00:00
See ./ARCHITECTURE.md for an overview of the infrastructure components.
2024-06-15 03:18:00 +00:00
2024-07-25 13:53:52 +00:00
## Getting Started
I'm working towards a better development experience with devbox and Tilt. This process is in a state of flux and is likely to be broken.
The main gist is as follows
1. Install [devbox](https://www.jetify.com/devbox/docs/installing_devbox/)
2. Install development environment & packages using devbox.
devbox install
2025-01-11 12:47:23 +00:00
3.
2024-07-25 13:53:52 +00:00
2025-01-11 12:47:23 +00:00
## backup/restore dev database
2024-07-25 13:53:52 +00:00
2025-01-11 12:47:23 +00:00
@see https://stackoverflow.com/a/29913462/1004931
2024-07-25 13:53:52 +00:00
2025-01-11 12:47:23 +00:00
### backup
Use devbox helper script
devbox run backup
### restore
cat ./backups/your-backup.sql | docker exec -i postgres_db psql -U postgres
2024-07-25 13:53:52 +00:00
2024-07-06 08:49:51 +00:00
## Metrics Notes
Keeping track of metrics we want to scrape using Prometheus
### Uppy
https://uppy.fp.sbtp.xyz/metrics