-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathinfo.txt
53 lines (39 loc) · 1.5 KB
/
info.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# linux-system-admin / info.txt
# - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - -
linsam = linux-system-admin
- linsam-webclient = React client-side Web-app
- linsam-webserver = Node.js/Express server-side API
# - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - -
# linsam-server
> sudo -i
> curl https://deb.nodesource.com/setup_14.x | bash
> apt install nodejs
> npm install joi --save
> npm install lodash --save
> sudo -i
> npm install express-generator -g
# as normal user, do:
> cd /home/jdg/dev/linux-system-admin/
# before: > express --no-view api
> express --no-view linsam-server
# before: > cd api/
> cd linsam-server/
linsam-server
> cat > run-debug.sh
#!/bin/bash
DEBUG=api:* npm start
#-EOF
> chmod +x run-debug.sh
# - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - -
# linsam-client
# https://github.com/facebook/create-react-app
# https://create-react-app.dev/
> cd /home/jdg/dev/linux-system-admin/
> npx create-react-app linsam-client
> cd linsam-client/
> npm start
> npm install primereact --save
> npm install primeicons --save
# - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - - - - - - - - + + + - - - - - -
# - - -
#-EOF