-
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.
- Loading branch information
0 parents
commit 1e6630b
Showing
38 changed files
with
5,362 additions
and
0 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,4 @@ | ||
/node_modules/ | ||
.idea | ||
build | ||
dist |
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,8 @@ | ||
{ | ||
"singleQuote": false, | ||
"semi": false, | ||
"tabWidth": 4, | ||
"trailingComma": "none", | ||
"arrowParens": "avoid", | ||
"printWidth": 100 | ||
} |
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,24 @@ | ||
# AwTube L Sample Project | ||
|
||
This repository contains the starter code for the AwTube L project. This application is deployed to the Raspberry Pi | ||
on port 4000 and started automatically on boot. | ||
|
||
If you want to run and develop this application locally, you can do so by running the following commands: | ||
|
||
```bash | ||
pnpm install | ||
pnpm start | ||
``` | ||
|
||
Once the application is running you can connect it to GBC on the Raspberry Pi using URL `ws://rpi-aw:9001/ws`. | ||
|
||
If you make changes and want to deploy them to the Raspberry Pi, you can do so by running the following command: | ||
|
||
```bash | ||
pnpm run dist | ||
``` | ||
|
||
This will create a `dist` folder containing a single bash script `awtube-install.sh`. This script will unpack and install the new version. Copy | ||
this script to the Raspberry Pi and run it to perform the update. | ||
|
||
Note that this update mechanism is temporary and not the "end state" for application updates! |
Oops, something went wrong.