We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8a18489 commit 5109fd0Copy full SHA for 5109fd0
README.md
@@ -4,8 +4,22 @@ Source code to generate [www.javascript.fun](https://www.javascript.fun/)
4
5
## Quick Start
6
7
+### Run app in local
8
+
9
```sh
10
yarn install
-yarn build # generate collect build
11
+yarn dev
12
+```
13
14
+### Update viewmodel
15
16
+```sh
17
+yarn build
18
yarn collect
19
```
20
21
+### Push to prod
22
23
24
+yarn cp
25
cp.sh
@@ -5,6 +5,11 @@ if [ ! -d "$im6_dir" ]; then
exit 1
fi
+cd $im6_dir
+git pull
+cd ../javascript-fun
# copy
# cp dist/public/main.js "$im6_dir/assets/"
# cp dist/public/site.js "$im6_dir/assets/"
@@ -20,4 +25,4 @@ cd $im6_dir
git add .
26
git commit -a -m "update"
27
git push
-exit 0
28
+exit 0
0 commit comments