update getting started docs

This commit is contained in:
Guilherme Rugai Freire 2024-07-10 19:19:09 -03:00
parent 0fcd8083ff
commit 2cbbc67467
No known key found for this signature in database
GPG Key ID: AC1D9B6E48E16AC1

View File

@ -2,6 +2,39 @@
A temporary email service
## Getting Started
### Compiling
Requirements:
- Golang
- Templ
- Make
```sh
make
```
### Creating a database:
Requirements:
- SQLite
```sh
cat migration.sql | sqlite3 db.db
```
### Running:
Available env variables:
- WEB_SERVER_PORT
- MAIL_SERVER_PORT
- MAIL_SERVER_DOMAIN
```sh
./bin/server
```
## TODO
- Restart when either mail or web server dies