You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-15Lines changed: 14 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,29 +110,28 @@ If you prefer to have the application in English or any other language, you can
110
110
111
111
### Technical details
112
112
113
-
The next versions of the App will be a modern tool that based on PWA (Progressive Web Application) and uses principally Node, Yarn, Vite and Vue for development and building. For Android we use Capacitor as wrapper over the PWA. To build and develop over it, follow the instructions below.
113
+
The next versions of the App will be a modern tool that based on PWA (Progressive Web Application) and uses principally Node, npm, Vite and Vue for development and building. For Android we use Capacitor as wrapper over the PWA. To build and develop over it, follow the instructions below.
114
114
115
115
### Prepare your environment
116
116
117
117
1. Install [node.js](https://nodejs.org/) (refer to [.nvmrc](./.nvmrc) for minimum required version)
118
-
2. Install yarn: `npm install yarn -g`
119
118
120
119
### PWA version
121
120
122
121
#### Run development version
123
122
124
-
1. Change to project folder and run `yarn install`.
125
-
2. Run `yarn dev`.
123
+
1. Change to project folder and run `npm install`.
124
+
2. Run `npm run dev`.
126
125
127
126
The web app will be available at http://localhost:8000 with full HMR.
128
127
129
128
#### Run production version
130
129
131
-
1. Change to project folder and run `yarn install`.
132
-
2. Run `yarn build`.
133
-
3. Run `yarn preview` after build has finished.
130
+
1. Change to project folder and run `npm install`.
131
+
2. Run `npm run build`.
132
+
3. Run `npm run preview` after build has finished.
134
133
135
-
Alternatively you can run `yarn review` to build and preview in one step.
134
+
Alternatively you can run `npm run review` to build and preview in one step.
136
135
137
136
The web app should behave directly as in production, available at http://localhost:8080.
138
137
@@ -146,25 +145,25 @@ You need to install [Android Studio](https://developer.android.com/studio) as Ca
146
145
147
146
#### Run development version
148
147
149
-
1. Change to project folder and run `yarn install`.
150
-
2. Run `yarn android:run`.
148
+
1. Change to project folder and run `npm install`.
149
+
2. Run `npm run android:run`.
151
150
152
151
The command will ask for the device to run the app. You need to have some Android virtual machine created or some Android phone [connected using ADB](https://developer.android.com/tools/adb).
153
152
154
-
As alternative to the step 2, you can execute a `yarn android:open` to open de project into Android Studio and run or debug the app from there.
153
+
As alternative to the step 2, you can execute a `npm run android:open` to open de project into Android Studio and run or debug the app from there.
155
154
156
155
#### Run development version with live reload
157
156
158
-
1. Change to project folder and run `yarn install`.
159
-
2. Run `yarn dev --host`. It will start the vite server and will show you the IP address where the server is listening.
160
-
3. Run `yarn android:dev`
157
+
1. Change to project folder and run `npm install`.
158
+
2. Run `npm run dev --host`. It will start the vite server and will show you the IP address where the server is listening.
159
+
3. Run `npm run android:dev`
161
160
162
161
This will ask for the IP where the server is running (if there are more than one network interfaces). You need to have some Android virtual machine created or some Android phone [connected using ADB](https://developer.android.com/tools/adb).
163
162
Any change make in the code will reload the app in the Android device.
0 commit comments