https://github.com/unicefuganda/necoc
NECOC DMS
https://github.com/unicefuganda/necoc
Last synced: about 1 month ago
JSON representation
NECOC DMS
- Host: GitHub
- URL: https://github.com/unicefuganda/necoc
- Owner: unicefuganda
- Created: 2014-09-16T06:27:49.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-11-24T10:08:09.000Z (over 8 years ago)
- Last Synced: 2024-11-04T08:37:01.552Z (6 months ago)
- Language: Python
- Size: 15.2 MB
- Stars: 1
- Watchers: 24
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-starred - unicefuganda/necoc - NECOC DMS (others)
README
NECOC DMS APPLICATION
=====================Coding Standards
----------------
1. Tabs should be 4 spaces, using spaces rather than tab character2. Method names and variables should be lower case with underscores eg def method_name:
SETTING UP NECOC ON YOUR MACHINE
-----------------------------------
* Install Python
* Install MongoDB
* Add API_TOKEN environment variable (for the development variable, any string can work.)
* mongodb should be running and after cloning the repo (see below), adjust db settings in settings/base.py or settings/local.py##Git
git clone https://github.com/unicefuganda/necoc.git
cd necoc
virtualenv .necoc --no-site-packages
source .necoc/bin/activate
pip install -r requirements.txt
python manage.py runserver
==
TESTS
------
* Unit and integration test are run:
python manage.py test* functional and end-to-end as well as js unit tests are run
bla blaDone!! you're good to go :)
Filenaming convention:
* for tests: test_[[OBJECT]]_[[ACTION]].py
e.g: test_disaster_form.py, test_disaster_views.py,...====
[](https://snap-ci.com/unicefuganda/necoc/branch/master)
[](https://coveralls.io/r/unicefuganda/necoc?branch=master)