Code Monkey home page Code Monkey logo

ngx-openmrs-formbuilder's Introduction

ng2-openmrs-formbuilder

This is a tool that builds OpenMRS Form Schemas interactively. This project was generated with Angular CLI version 1.2.1.

Development

Run git clone https://github.com/AMPATH/ng2-openmrs-formbuilder.git to clone the repo locally.

Run cd ng2-openmrs-formbuilder

Run npm install to install dependencies.

Setup environment variables

export OPENMRS_HOST_URL=http://172.17.0.1

export OPENMRS_SECURE=false

http://172.17.0.1 is the openmrs host being served by docker on linux. This could be different on Mac

For example you could set this to a remote server export OPENMRS_HOST_URL=https://openmrs-spa.org since this is a secure host set export OPENMRS_SECURE=true

Then npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Setting up with docker

Prerequisites

Run git clone https://github.com/AMPATH/ng2-openmrs-formbuilder.git to clone the repo locally.

Run docker build -t ng2-openmrs-formbuilder . (don't forget the fullstop at the end)

Run export OPENMRS_HOST_URL=http://172.17.0.1

Then docker-compose up

Navigate to http://localhost:4200/.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

ngx-openmrs-formbuilder's People

Contributors

denniskigen avatar donaldkibet avatar corneliouzbett avatar enyachoke avatar theebruv avatar madvincy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.