Skip to content

yasgun/easypharma

Repository files navigation

EasyPharma Pharmacy Management System

Build Status

EasyPharma is a web-based inventory and purchase management system focusing on giving pharmacies a free customizable point of sales system (POS).

The mission of EasyPharma is to improve the quality of pharmacies by coordinating a global community that creates a robust, scalable, user-driven, open source point of sales system.

Table of Contents

  1. Local Build
    1. Prerequisites
    2. Build Command
    3. Deploy
  2. Navigating the repository
  3. Demo
  4. License

Local Build

Prerequisites

Meteor

EasyPharma is developed on Meteor framework which is why you need to install a Meteor.

Git

Install the version control tool git.

Build Command

$ git clone https://github.com/yasgun/easypharma.git
$ cd easypharma
$ npm install

Settings

Add a settings.json file to the root folder following the structure of settings.json.example file.

Deploy

$ meteor run --settings settings.json

Creating a System Administrator

Call this route with appropriate parameters to create an admin. Remember to use a working email as it is necessary to receive the enrollment email in order to set a password and login.

[ip-address]:[port]/api/config/create-admin/{email}/{first name}/{last name}

Navigating the Repository

The project tree is set up as follows:

client/ Source files for the web application client.
client-tests/ Tests for client side.
collections/ NoSQL database collections.
lib/ Route definitions and other libraries.
public/ Public folder for the web application.
server/ Source files for the web application server.

License

Copyright © 2017 Yasas Gunarathne