https://github.com/dermatologist/openmrs-owa-vue-boilerplate
An OpenMRS OWA Template Using Vue.
https://github.com/dermatologist/openmrs-owa-vue-boilerplate
emr openmrs vue
Last synced: 2 months ago
JSON representation
An OpenMRS OWA Template Using Vue.
- Host: GitHub
- URL: https://github.com/dermatologist/openmrs-owa-vue-boilerplate
- Owner: dermatologist
- Created: 2018-09-02T17:29:42.000Z (about 7 years ago)
- Default Branch: develop
- Last Pushed: 2022-12-08T11:41:12.000Z (almost 3 years ago)
- Last Synced: 2025-04-02T20:45:20.047Z (6 months ago)
- Topics: emr, openmrs, vue
- Language: Vue
- Size: 976 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 20
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# openmrs-owa-vue-boilerplate
## About
* This is a boilerplate for creating Vue Open Web Apps in OpenMRS. My react-redux boilerplate project
is [here](https://github.com/dermatologist/openmrs-owa-react-boilerplate)* Created using vue cli 3
## How to Use
* Update *public/manifest.webapp*
* rename *deploy-example.sh* to *deploy.sh* and add openmrs server details. You can use scp here to deploy on server. This copies the dist folder over to the owa folder on server except the manifest.webapp file. Hence, deploy it the conventional way for the first time as zip file so that manifest.webapp can be updated by openmrs or manually create the manifest.webapp file.
* See *src/services/patientServices.js* to see how to access openmrs resources. Use *baseURL: ContextService.getManifest().openmrs.href* if required.
* See *src/components/HelloPatient.vue* to see how it all fits together.
* see *vue.config.js* for additional configurations if required.## Project setup
```
yarn install
```### Compiles and hot-reloads for development
```
yarn run serve
```### Compiles and minifies for production
```
yarn run build
```## Deploy to Openmrs Server
```
yarn run deploy
```### Lints and fixes files
```
yarn run lint
```### Run your unit tests
```
yarn run test:unit
```