simplify deployment tooling
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
# Orion
|
||||
|
||||
API server and worker services for llink.
|
||||
|
||||
## Deploy
|
||||
|
||||
```bash
|
||||
# Deploy all services
|
||||
make deploy-dev
|
||||
make deploy-prod
|
||||
|
||||
# Deploy a single service
|
||||
make deploy-dev MODULE=orion
|
||||
make deploy-dev MODULE=worker
|
||||
```
|
||||
|
||||
## Migrations
|
||||
|
||||
```bash
|
||||
make migrate-dev
|
||||
make migrate-prod
|
||||
|
||||
# Create a new migration
|
||||
make create-migration ARG="create_users_table"
|
||||
```
|
||||
|
||||
## Database Access
|
||||
|
||||
```bash
|
||||
make dev-database
|
||||
make prod-database
|
||||
```
|
||||
Reference in New Issue
Block a user