https://github.com/xebec19/scaling-octo-memory
https://github.com/xebec19/scaling-octo-memory
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/xebec19/scaling-octo-memory
- Owner: Xebec19
- Created: 2022-09-30T15:53:16.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-10-01T11:48:56.000Z (over 2 years ago)
- Last Synced: 2025-01-08T04:37:15.586Z (5 months ago)
- Language: Go
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# scaling-octo-memory
## Git hooks set up
## Prerequisites
1. Docker
2. Go migrate
3. Go 1.19## Commands
1. We need an docker image of postgres tag: 12-alpine
to set up postgres
```
make postgres
```
2. To create database
```
make createdb
```
3. To delete database
```
make dropdb
```
4. To set up schema of database
```
make migrateup
```
5. To revert migration
```
make migratedown
```
6. To start development server
```
make live
```