-
Notifications
You must be signed in to change notification settings - Fork 2
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
83c408c
commit 077e1bb
Showing
4 changed files
with
35 additions
and
3 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,3 +1,5 @@ | ||
docker-compose-deploy.yml | ||
gits-smart.json | ||
sma-rt-firebase-adminsdk.json | ||
sma-rt-firebase-adminsdk.json | ||
|
||
.env |
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,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 | ||
``` | ||
|
||
[](https://github.com/alifnaufalyasin/gits-capstone-project/actions/workflows/deploy-vps.yml) |
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 |
---|---|---|
|
@@ -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 |
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 |
---|---|---|
@@ -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= |