Skip to content

Commit d678259

Browse files
authored
Merge pull request #38 from CMU-17313Q/p4-translation-integration
P4A Checkpoint: Integrating provided UI code
2 parents fd1103c + d0fb485 commit d678259

16 files changed

Lines changed: 1648 additions & 1553 deletions

File tree

.github/workflows/VM Deploy.yml

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
1-
name: VM Deploy NodeBB
2-
3-
on:
4-
push:
5-
branches:
6-
- main
7-
workflow_dispatch:
8-
9-
concurrency:
10-
group: ${{ github.workflow }}
11-
cancel-in-progress: true
12-
13-
jobs:
14-
build-and-deploy:
15-
16-
runs-on: ubuntu-latest
17-
18-
steps:
19-
- uses: actions/checkout@v4
20-
21-
- name: Set up Node.js version
22-
uses: actions/setup-node@v3
23-
with:
24-
node-version: '20.17.0'
25-
26-
- name: Deploy via SSH
27-
uses: appleboy/ssh-action@v1.2.1
28-
with:
29-
host: ${{ secrets.SERVER_IP }}
30-
username: ${{ secrets.SERVER_ADMIN }}
31-
password: ${{ secrets.ADMIN_PASSWORD }}
32-
script: |
33-
cd code/${{ secrets.REPO_NAME }}
34-
git pull origin main
35-
docker compose down
36-
docker compose --profile redis up --build -d
1+
name: VM Deploy NodeBB
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
concurrency:
10+
group: ${{ github.workflow }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
build-and-deploy:
15+
16+
runs-on: ubuntu-latest
17+
18+
steps:
19+
- uses: actions/checkout@v4
20+
21+
- name: Set up Node.js version
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: '20.17.0'
25+
26+
- name: Deploy via SSH
27+
uses: appleboy/ssh-action@v1.2.1
28+
with:
29+
host: ${{ secrets.SERVER_IP }}
30+
username: ${{ secrets.SERVER_ADMIN }}
31+
password: ${{ secrets.ADMIN_PASSWORD }}
32+
script: |
33+
cd code/${{ secrets.REPO_NAME }}
34+
git pull origin main
35+
docker compose down
36+
docker compose --profile redis up --build -d

.gitignore

Lines changed: 79 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,80 @@
1-
dump.rdb
2-
3-
dist/
4-
yarn.lock
5-
npm-debug.log
6-
node_modules/
7-
sftp-config.json
8-
config.json
9-
jsconfig.json
10-
public/src/nodebb.min.js
11-
!src/views/config.json
12-
public/css/*.css
13-
*.sublime-project
14-
*.sublime-workspace
15-
.project
16-
*.swp
17-
Vagrantfile
18-
.vagrant
19-
provision.sh
20-
*.komodoproject
21-
.DS_Store
22-
feeds/recent.rss
23-
.eslintcache
24-
.svn
25-
26-
logs/
27-
28-
pidfile
29-
30-
# templates
31-
/public/templates
32-
33-
/public/uploads
34-
/test/uploads
35-
36-
# compiled files
37-
/public/stylesheet.css
38-
/public/admin.css
39-
/public/nodebb.min.js
40-
/public/nodebb.min.js.map
41-
/public/acp.min.js
42-
/public/acp.min.js.map
43-
/public/installer.css
44-
/public/installer.min.js
45-
/public/bootstrap.min.css
46-
/public/logo.png
47-
48-
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
49-
*.iml
50-
51-
## Directory-based project format:
52-
.idea/
53-
.vscode/
54-
55-
## File-based project format:
56-
*.ipr
57-
*.iws
58-
59-
## Transifex
60-
tx.exe
61-
.transifexrc
62-
63-
##Coverage output
64-
coverage
65-
.nyc_output
66-
67-
*.log
68-
test/files/normalise.jpg.png
69-
test/files/normalise-resized.jpg
70-
package-lock.json
71-
/package.json
72-
*.mongodb
73-
link-plugins.sh
74-
test.sh
75-
76-
.docker/**
77-
!**/.gitkeep
78-
79-
#tests
1+
dump.rdb
2+
3+
dist/
4+
yarn.lock
5+
npm-debug.log
6+
node_modules/
7+
sftp-config.json
8+
config.json
9+
jsconfig.json
10+
public/src/nodebb.min.js
11+
!src/views/config.json
12+
public/css/*.css
13+
*.sublime-project
14+
*.sublime-workspace
15+
.project
16+
*.swp
17+
Vagrantfile
18+
.vagrant
19+
provision.sh
20+
*.komodoproject
21+
.DS_Store
22+
feeds/recent.rss
23+
.eslintcache
24+
.svn
25+
26+
logs/
27+
28+
pidfile
29+
30+
# templates
31+
/public/templates
32+
33+
/public/uploads
34+
/test/uploads
35+
36+
# compiled files
37+
/public/stylesheet.css
38+
/public/admin.css
39+
/public/nodebb.min.js
40+
/public/nodebb.min.js.map
41+
/public/acp.min.js
42+
/public/acp.min.js.map
43+
/public/installer.css
44+
/public/installer.min.js
45+
/public/bootstrap.min.css
46+
/public/logo.png
47+
48+
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
49+
*.iml
50+
51+
## Directory-based project format:
52+
.idea/
53+
.vscode/
54+
55+
## File-based project format:
56+
*.ipr
57+
*.iws
58+
59+
## Transifex
60+
tx.exe
61+
.transifexrc
62+
63+
##Coverage output
64+
coverage
65+
.nyc_output
66+
67+
*.log
68+
test/files/normalise.jpg.png
69+
test/files/normalise-resized.jpg
70+
package-lock.json
71+
/package.json
72+
*.mongodb
73+
link-plugins.sh
74+
test.sh
75+
76+
.docker/**
77+
!**/.gitkeep
78+
79+
#tests
8080
/test/utils.js

0 commit comments

Comments
 (0)