-
Notifications
You must be signed in to change notification settings - Fork 6
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 #88 from a19hu/main
modified
- Loading branch information
Showing
87 changed files
with
23,305 additions
and
318 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 |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: CI/CD Pipeline for React.js inside 'frontend' folder | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
pull_request: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
|
||
- name: Navigate to frontend and install dependencies | ||
run: | | ||
cd frontend | ||
npm install | ||
# - name: Run tests | ||
# run: | | ||
# cd frontend | ||
# npm test | ||
|
||
# - name: Build React app | ||
# run: | | ||
# cd frontend | ||
# npm run build | ||
- name: Print environment variables | ||
run: | | ||
echo "NO: ${{ secrets.NO }}" | ||
echo "Server IP: ${{ secrets.SERVER_IP }}" | ||
echo "Server Username: ${{ secrets.SERVER_USERNAME }}" | ||
- name: Deploy to server via SSH | ||
run: | | ||
ssh | ||
# uses: appleboy/ssh-action@master | ||
# with: | ||
# host: ${{ secrets.SERVER_IP }} | ||
# username: ${{ secrets.SERVER_USERNAME }} | ||
# password: ${{ secrets.SERVER_PASSWORD }} | ||
# script: | | ||
# cd /home/cse-tech/ashu | ||
# cd frontend | ||
# git pull origin main | ||
# npm install | ||
# npm run build | ||
# pm2 restart react-app |
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,4 @@ | ||
node_modules | ||
envr | ||
no | ||
no.pub |
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 @@ | ||
https://medium.com/@jonas.granlund/running-django-with-postgresql-in-docker-a-step-by-step-guide-f6ab3bf05f44 |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,25 @@ | ||
{ | ||
"short_name": "React App", | ||
"name": "Create React App Sample", | ||
"icons": [ | ||
{ | ||
"src": "favicon.ico", | ||
"sizes": "64x64 32x32 24x24 16x16", | ||
"type": "image/x-icon" | ||
}, | ||
{ | ||
"src": "logo192.png", | ||
"type": "image/png", | ||
"sizes": "192x192" | ||
}, | ||
{ | ||
"src": "logo512.png", | ||
"type": "image/png", | ||
"sizes": "512x512" | ||
} | ||
], | ||
"start_url": ".", | ||
"display": "standalone", | ||
"theme_color": "#000000", | ||
"background_color": "#ffffff" | ||
} |
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,3 @@ | ||
# https://www.robotstxt.org/robotstxt.html | ||
User-agent: * | ||
Disallow: |
Binary file added
BIN
+5.94 MB
frontend/client/.next/cache/webpack/client-development-fallback/0.pack.gz
Binary file not shown.
Binary file added
BIN
+1.25 KB
frontend/client/.next/cache/webpack/client-development-fallback/1.pack.gz
Binary file not shown.
Binary file added
BIN
+46.1 KB
frontend/client/.next/cache/webpack/client-development-fallback/index.pack.gz
Binary file not shown.
Binary file added
BIN
+46.1 KB
frontend/client/.next/cache/webpack/client-development-fallback/index.pack.gz.old
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+57.7 KB
frontend/client/.next/cache/webpack/client-development/index.pack.gz.old
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+48.8 KB
frontend/client/.next/cache/webpack/server-development/index.pack.gz.old
Binary file not shown.
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,7 @@ | ||
node_modules | ||
|
||
build | ||
|
||
Dockerfile | ||
|
||
|
Oops, something went wrong.