Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
yasgun committed Sep 30, 2018
1 parent 2abc9a1 commit 3c75dff
Showing 1 changed file with 91 additions and 10 deletions.
101 changes: 91 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,111 @@
# About EasyPharma
# EasyPharma Pharmacy Management System
[![Build Status](https://travis-ci.org/yasgun/easypharma.svg?branch=master)](https://travis-ci.org/yasgun/easypharma)
A user friendly web based inventory and purchase management system for pharmacies, comes along with an API that supports connecting external parties to the system for sharing useful information.

## Installation
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](#local-build)
1. [Prerequisites](#prerequisites)
2. [Build Command](#build-command)
3. [Deploy](#deploy)
2. [Navigating the repository](#navigating-the-repository)
3. [Demo](#demo)
4. [License](#license)

## Local Build

### Prerequisites

#### Meteor

EasyPharma is developed on Meteor framework which is why you need to install a [Meteor](https://www.meteor.com/install).

#### Git

Install the version control tool [git](https://git-scm.com/).

### Build Command

```bash
$ git clone https://github.com/easyweb-lk/easypharma.git
$ git clone https://github.com/yasgun/easypharma.git
$ cd easypharma
$ npm install
```

**Adding settings.json**
#### Settings

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

**Running the server**
### Deploy

```bash
$ meteor run --settings settings.json
```

**Creating an system administrator**
#### Creating a System Administrator

Call this route with appropriate parameters to create an admin. Remember to use a working email as it is necessary receive the enrollment email in order to set a password and login.
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.

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

## Navigating the Repository

The project tree is set up as follows:

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

## Demo

Access the Heroku hosted demo through this [link](https://easypharma-demo.herokuapp.com).

<table>
<tr>
<th>User</td>
<th>Email</td>
<th>Password</td>
</tr>
<tr>
<td>Administrator</td>
<td>[email protected]</td>
<td>123456</td>
</tr>
<tr>
<td>Pharmacist</td>
<td>[email protected]</td>
<td>123456</td>
</tr>
</table>

## License

Copyright © 2017 Yasas Gunarathne

0 comments on commit 3c75dff

Please sign in to comment.