File tree Expand file tree Collapse file tree 1 file changed +35
-2
lines changed
Expand file tree Collapse file tree 1 file changed +35
-2
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,44 @@ Pokémon Type Calculator helps you figure out offense/defense matchups for Poké
1212
1313## Development
1414
15+ ``` bash
16+ npm install
17+ npm run start
1518```
16- $ npm install
17- $ npm run start
19+
20+ ## Deployment
21+
22+ Refer Github Action for details on how to build and deploy it to Github Page, Web server, APK android files.
23+
24+ < https://github.com/nguoianphu/pkmn.help/blob/vitejs/.github/workflows/build.yml >
25+
26+ ### Deploy to Web server or Github pages
27+
28+ ``` bash
29+ rm -rf dist
30+ cp -Rf webpack.config.gh-pages.js webpack.config.js || true
31+ cp -Rf vite.config.githubpage.ts vite.config.ts || true
32+ npm run build
33+
34+ # Output is dist folder
1835```
1936
37+ ### Build Android APK
38+
39+ Refer above Github Action or this < https://github.com/nguoianphu/capacitor >
40+
41+ ``` bash
42+ npm run build
43+
44+ mkdir -p app
45+ cp -r dist app/
46+ cp -r package.json app/
47+
48+ docker run --rm -it -v ./app:/app ghcr.io/nguoianphu/capacitor
49+ # docker run --rm -it -v ./app:/app nguoianphu/capacitor
50+ ```
51+
52+
2053## New features in my forked
2154
2255Info for ** Pokemon GO** only
You can’t perform that action at this time.
0 commit comments