# Packages
No description provided by the author
# README
Network Monitor
Prerequisites
- Go 1.21.1 (Installation)
- Atlas (Installation)
- Templ (Installation)
Switching environments
- Assign the desired env file to
.env
before running the makefilecp local.env .env
- Update any credentials locally in
.env
- Source and export the env variables
set -a source .env set +a
Database migrations
Update schema
- Update DDL statements in
db/schema.sql
- Use Atlas to create versioned migration
atlas migarte diff -c file://db/atlas.hcl --env local <migration_name>
Run migrations
atlas migrate apply -c file://db/atlas.hcl --env local