Skip to content

Commit 1ddef3b

Browse files
committed
new file: docs/guides/frontend_setup.txt
renamed: docs/react_hooks.txt -> docs/guides/react_hooks.txt
1 parent ab4f079 commit 1ddef3b

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

docs/guides/frontend_setup.txt

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
1. Install nvm and node js in Ubuntu
2+
3+
Run:
4+
sudo apt install curl
5+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
6+
7+
Close and reopen terminal, then run:
8+
nvm install node
9+
10+
11+
2. Clone repo onto PC and open in your text editor (in VS Code there is a Git Clone option on the welcome page)
12+
13+
3. Install node_modules and test run the frontend
14+
15+
Run:
16+
npm install
17+
18+
Then run:
19+
npm run build
20+
npm run preview
21+
22+
And open the link in the terminal to check if everything is working fine
23+
24+
25+
26+
Lmk if anything in here needs revision in class
File renamed without changes.

0 commit comments

Comments
 (0)