Skip to content

Commit 58ef55d

Browse files
committed
update readme and browser db and workflow to node14
1 parent 4ce97fa commit 58ef55d

File tree

3 files changed

+12
-26
lines changed

3 files changed

+12
-26
lines changed

.github/workflows/build_deploy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
- name: Setup Node
2323
uses: actions/setup-node@v4
2424
with:
25-
node-version: '12.x'
25+
node-version: '14.x'
2626

2727
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
2828
- uses: actions/checkout@v4

README.md

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -152,33 +152,19 @@ need to [fork this repository](https://help.github.com/en/github/getting-started
152152
and [clone it](https://help.github.com/en/github/creating-cloning-and-archiving-repositories/cloning-a-repository)
153153
on your machine.
154154

155-
To then run the app locally, you will have to install javascript `node.js`. A
156-
good way to do this, is to install [node version manager](https://github.com/nvm-sh/nvm)
157-
(NVM) to help you deal with different version of `node.js`.
158-
159-
If you are running linux, you can install NVM by typing:
160-
161-
```
162-
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash
163-
```
164-
165-
Then close your terminal and reopen it then run the following to install the
166-
version 9 of `node.js`
155+
This app uses an older version of node, hence the easiest option is to use a
156+
Docker setup.
167157

168-
```
169-
nvm install node
170-
nvm install 9
158+
```shell
159+
docker run -it --rm -p 8080:8080 -v $(pwd):/src --entrypoint bash \
160+
--platform linux/amd64 node:14.21.3-buster-slim
171161
```
172162

173-
You should then be able to use node to the following:
163+
In the container terminal
174164

175-
### Install the dependencies
176-
``` bash
165+
```shell
166+
cd /src
177167
npm install
178-
```
179-
180-
### Serve the app locally
181-
``` bash
182168
npm run serve
183169
```
184170

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)