JowieXiang / ngo_application

Application for the NGO

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Micado app (micado)

NGO application

Development instructions

To develop this application you need to execute the following command to get a proper shell in the development environment, this will mount the source folder and allow editing the code with you preferred editor while getting the benefit of having autorefresh etc.

docker-compose run ngo_app_dev bash

Install the dependencies

The first time you will have to install all the modules or quasar will complain.

npm install

Start the app in development mode (hot-code reloading, error reporting, etc.)

docker-compose up

The application can be accessed both the following addresses

http://ngo.micado.csi.it   [using the balancer in front of the web server as in production environment; the FQDN must be set in hosts file]
http://localhost:8080     [with hot reloading]

To test the application during Development

docker exec -it ngo_application_ngo_app_dev_1 /bin/bash
QENV=test;NODE_ENV=test;quasar test --unit jest

Build the app for production

To have a build to test locally is possible to execute the command below

docker build -t micadoproject/ngo_app:0.0.1 .

For release the GIT repository is linked to Dockerhub so at each push a new image build will be triggered.

Customize the configuration

See Configuring quasar.conf.js.

About

Application for the NGO


Languages

Language:Vue 48.7%Language:JavaScript 48.4%Language:HTML 2.2%Language:Dockerfile 0.6%Language:CSS 0.0%