-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
46b8741
commit 372eba6
Showing
3 changed files
with
76 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,43 @@ | ||
# SquareMarket | ||
A marketplace app with federation | ||
# SquareMarket | ||
|
||
A marketplace app with federation | ||
|
||
## Deployment | ||
|
||
### Cloud environment | ||
|
||
Setup cloud environment | ||
|
||
```bash | ||
terraform apply | ||
``` | ||
|
||
### Databases | ||
|
||
Migrate and seed the databases | ||
|
||
#### Accounts Database | ||
|
||
```bash | ||
npx --include-workspace-root knex --env accounts-production migrate:up | ||
``` | ||
|
||
#### Advertisement Database | ||
|
||
```bash | ||
npx --include-workspace-root knex --env advertisements-production migrate:up | ||
``` | ||
|
||
```bash | ||
npx --include-workspace-root knex --env advertisements-production seed:run | ||
``` | ||
|
||
#### Messages Database | ||
|
||
```bash | ||
npx --include-workspace-root knex --env messages-production migrate:up | ||
``` | ||
|
||
### Release | ||
|
||
Create a release to run the `release` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.