MedChecker by Fivium is currently conceptual demo based on open source software as part of the OPENeP project that aims to create software for the NHS. As it currently stands the software is in a demonstration state only and demonstrates UI concepts rather than a fully working system.
This project has been written in Python using the Django framework.
The following software is required to carry out development, no instructions are given for installing this software.
- Python 2.7
- pip
- virtualenv (can be installed via
pip install virtualenv
) - PostgreSQL Database (9.3) (it is not recommended that you use sqlite)
- node.js & npm
- [bower](h ttp://bower.io/#install-bower) (can be installed via
npm install bower
)
Once you have all the rquired software, simply clone this repository.
The best way to run this project is using pythons virtualenv. This isolates your deployment and helps ensure that project dependencies are working correctly. Read more about it here.
-
Navigate to the cloned repository and run
virtualenv .
to instantiate the current directory as a virtualenv. -
To activate your virtualenv run:
*nix:
source bin/activate
or Windows:Scripts\activate.bat
-
You should now see that your command prompt has changed indicate the current virtualenv running. Any python packges you install within this sandboxed environment will be installed for this virtualenv only and only be available if the virtualenv is active.
- Ensure that your virtualenv is activated
- Navigate to the directory containing this cloned repository and run
pip install -r requirements/local.txt
to install the python dependencies. - Users using virtualenv under Cygwin on Windows will need to download the latest copy of Psycopg2 for Windows and install it with, e.g.
easy_install <name.exe>
. - Install the web dependencies using bower with
bower install
. - Create a database using postgres (the easiest method is via the pgadmin tool).
- Verify that the settings in medchecker/medchecker/settings/local.py are correct.
- Change directory to medchecker.
- Setup the database using the django tools
./manage.py migrate
. - Run the server with
./manage.py runserver
- Point your browser to
http://localhost:8000