Client-only code for Wellbeing project.
After cloning the app,
Yarn
command to installed dependenciesyarn dev
which will start the Application on the port 8080./api/methods/<method-name>
and /collections/<collection-name>
. So to work with the meteor server, the frontend must know where to redirect the requests to. So to run the App successfully, the meteor server must be on. Set the URL of the server in the .env
file of the frontend folder using the key BASE_URL
. E.g. in local mode BASE_URL=http://localhost:3000/
yarn
quasar dev
yarn run lint
quasar build
See Configuring quasar.conf.js.
yarn android-dev
Here is a useful link (https://medium.com/@jwdobken/develop-quasar-applications-with-docker-a19c38d4a6ac) to setup docker deployment for the frontend folder. There is a one time command from it that needs to be fired to setup docker on the server. Make sure you have docker pre-installed
cd "$_"
docker run --rm -v ${PWD}:/app -it node:12.20.2-alpine3.10 sh -c "yarn global add @vue/cli && vue init 'quasarframework/quasar-starter-kit' app"
run the following command to start the frontend server, yarn docker-deploy
.