Sample web application integrating bootstrap based coreui with Vue. Initial scafold done with Vue CLI. The project can be deployed as a docker container or pushed directly with a buildpack to Microsoft Azure
- Vue cli used to generate this project
- Style Guide for Vue. Attempting to follow as best as possible
- CoreUI Bootstrap theme
- Bootstrap-Vue components
- Vue Router for view management
- Vuex for state management
- vue-mobile-detection for checking mobile state
- axios as http client
- jsonplaceholder for sample table data
- Install a nodejs runtime is installed (LTS)
npm install
npm run serve
npm run build
You can create a public registry with security scanning for free at Quay.io
- Build and push the image with this script. You will have to edit the quay.io registry endpoint for the push command to work
docker-build.sh
- Run the continer with this script
docker-run.sh
- The server will be running on http://localhost:5000
TODO
- Deploy a docker container with the following command
cf-push-docker.sh