Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jugglingcats committed Dec 11, 2023
0 parents commit 1e6630b
Show file tree
Hide file tree
Showing 38 changed files with 5,362 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/node_modules/
.idea
build
dist
8 changes: 8 additions & 0 deletions .prettierrc
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
}
24 changes: 24 additions & 0 deletions README.md
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!
Loading

0 comments on commit 1e6630b

Please sign in to comment.