Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
alifnaufalyasin committed Apr 19, 2022
1 parent 83c408c commit 077e1bb
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
docker-compose-deploy.yml
gits-smart.json
sma-rt-firebase-adminsdk.json
sma-rt-firebase-adminsdk.json

.env
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,19 @@
# gits-capstone-project

Before you run this project, you need to install the requirement:
- Golang
- Docker/Postgresql (chose one)

<br>

## Docker Section
if you use docker, you can run this command for running the database
```
docker-compose -f database.yml up -d
```
after that, you can run this command for running the service
```
docker-compose up -d
```

[![Deploy VPS](https://github.com/alifnaufalyasin/gits-capstone-project/actions/workflows/deploy-vps.yml/badge.svg?branch=master&event=workflow_run)](https://github.com/alifnaufalyasin/gits-capstone-project/actions/workflows/deploy-vps.yml)
4 changes: 2 additions & 2 deletions src/.env
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ RESET_TABLES=true
SEED_TABLES=true

EMAIL=[email protected]
PASSWORD_EMAIL=
FIREBASE_API_KEY=
PASSWORD_EMAIL=jfhrxbvhepngnbsv
FIREBASE_API_KEY=AAAAPB7DZ3k:APA91bEdWRKIYHYVwxqHtW_fWxnX01kLZOMxGglwhDi4SN1XU8Uth9j05f6bXS-l-kVVPNjdSXxpX96EKEDALroaUd5yPKJNcp6B4cRVNPT8PiCE3oNLvRmG-iKN5DW-rKtsYGj8hWsi
14 changes: 14 additions & 0 deletions src/.env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
DB_HOST=localhost
DB_PORT=5432
DB_USERNAME=postgres
DB_PASSWORD=postgres
DB_NAME=postgres
PORT=
SECRET=

RESET_TABLES=
SEED_TABLES=

EMAIL=
PASSWORD_EMAIL=
FIREBASE_API_KEY=

0 comments on commit 077e1bb

Please sign in to comment.