-
-
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.
Merge pull request #70 from wajeht/feature/maintenance
feature/maintenance
- Loading branch information
Showing
12 changed files
with
58 additions
and
25 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
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 |
---|---|---|
|
@@ -6,7 +6,7 @@ on: | |
pull_request: | ||
|
||
env: | ||
PORT: 8080 | ||
PORT: 80 | ||
ENV: 'testing' | ||
DOMAIN: 'https://close-powerlifting.jaw.dev' | ||
PASSWORD_SALT: 5 | ||
|
@@ -105,9 +105,12 @@ jobs: | |
|
||
deploy: | ||
needs: [format, test, lint] | ||
name: Deploy to caprover | ||
name: Deploy to production | ||
runs-on: ubuntu-latest | ||
if: github.event_name == 'push' && github.ref == 'refs/heads/main' | ||
environment: | ||
name: production | ||
url: https://close-powerlifting.jaw.dev/ | ||
|
||
steps: | ||
- name: Check out repository | ||
|
@@ -134,7 +137,7 @@ jobs: | |
push: true | ||
tags: ${{ env.IMAGE_URL }} | ||
|
||
- name: Deploy Image to CapRrover | ||
- name: Deploy Image to Production | ||
uses: caprover/[email protected] | ||
with: | ||
server: '${{ secrets.CAPROVER_SERVER }}' | ||
|
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
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
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
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
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
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,30 @@ | ||
# Getting Started | ||
Clone the repository | ||
|
||
```bash | ||
$ git clone https://github.com/wajeht/close-powerlifting.git | ||
``` | ||
|
||
Copy `.env.example` to `.env` | ||
|
||
```bash | ||
$ cp .env.example .env | ||
``` | ||
|
||
Install dependencies | ||
|
||
```bash | ||
$ npm install | ||
``` | ||
|
||
Run development server | ||
|
||
```bash | ||
$ npm run dev | ||
``` | ||
|
||
Test the application | ||
|
||
```bash | ||
$ npm run test | ||
``` |
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
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
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
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