All Projects → CodeforNepal → Nepalmap_app

CodeforNepal / Nepalmap_app

Licence: mit
An application that maps census and other official data for Nepal to make data more easily accessible and understandable to the public. Want to help us? Check out the Wiki.

Projects that are alternatives of or similar to Nepalmap app

open-gsa-redesign
A fresh start for open.gsa.gov.
Stars: ✭ 27 (-55%)
Mutual labels:  opensource, opendata
Osgeo
The Open Source Geospatial Foundation is not-for-profit organization to empower everyone with open source geospatial. Directly supports projects as an outreach and advocacy organization providing financial, organizational and legal support. Works with our sponsors and partners for open software, standards, data, research and education.
Stars: ✭ 142 (+136.67%)
Mutual labels:  opendata, opensource
Susi
SuSi: Python package for unsupervised, supervised and semi-supervised self-organizing maps (SOM)
Stars: ✭ 42 (-30%)
Mutual labels:  opensource
Open Source Flutter Apps
📱 List of open source Flutter applications
Stars: ✭ 1,086 (+1710%)
Mutual labels:  opensource
Tr2main
Tomb Raider II Injector Dynamic Library
Stars: ✭ 46 (-23.33%)
Mutual labels:  opensource
Paperwork
Paperwork - OpenSource note-taking & archiving alternative to Evernote, Microsoft OneNote & Google Keep
Stars: ✭ 7,838 (+12963.33%)
Mutual labels:  opensource
Fakescreenshot
🔥对抗假消息系列项目之一:截屏 = 实锤?相信你就输了!(”突破性“更新💥:支持修改任何网站!)
Stars: ✭ 1,058 (+1663.33%)
Mutual labels:  opensource
Awesome Pakistani
List of Pakistani software developers and organisations contributing in open source.
Stars: ✭ 41 (-31.67%)
Mutual labels:  opensource
Laravel Cachebuster
Adds MD5 hashes to the URLs of your application's assets, so when they change, their URL changes.
Stars: ✭ 58 (-3.33%)
Mutual labels:  opensource
Node Chat One To One
Node.js socket-io based one to one chat engine
Stars: ✭ 47 (-21.67%)
Mutual labels:  opensource
Tra Info
快速地查詢臺鐵時刻表,沒有廢話。
Stars: ✭ 53 (-11.67%)
Mutual labels:  opendata
Privacyidea
🔐 multi factor authentication system (2FA, MFA, OTP Server)
Stars: ✭ 1,027 (+1611.67%)
Mutual labels:  opensource
Sales Cashregister
Cash Register Version 2.0 with barcode logon and to 8 buttongroups with each 23 programmable product buttons and equipped with inventory management system
Stars: ✭ 45 (-25%)
Mutual labels:  opensource
Mycollab
An open source, free, high performance, stable and secure Java Application Business Platform of Project Management and Document
Stars: ✭ 1,063 (+1671.67%)
Mutual labels:  opensource
Chatwoot
Open-source customer engagement suite, an alternative to Intercom, Zendesk, Salesforce Service Cloud etc. 🔥💬
Stars: ✭ 11,554 (+19156.67%)
Mutual labels:  opensource
Web
Grow Open Source
Stars: ✭ 1,097 (+1728.33%)
Mutual labels:  opensource
Hacktoberfest Simple Practice Programmes
A beginner-friendly open source repository to create your pull request.
Stars: ✭ 42 (-30%)
Mutual labels:  opensource
Krihelinator
"Trendiness of open source software should be assessed by contribution rate, not by stars" - Meir Kriheli
Stars: ✭ 45 (-25%)
Mutual labels:  opensource
Uwp App Launcher Mobile
[Open Source] It's like the iOS and Android Home Screens but for Windows 10 (Phones).
Stars: ✭ 47 (-21.67%)
Mutual labels:  opensource
List Of Open Source Internships Programs
A curated list of all the open-source internships/Programs
Stars: ✭ 1,108 (+1746.67%)
Mutual labels:  opensource

Nepal Map

The Nepal instance of Wazimap, a Django application for exploring census and other similar data.

Local development

  1. clone the repo
  2. cd nepalmap
  3. mkvirtualenv nepalmap
  4. workon nepalmap
  5. pip install -r requirements.txt

You might need to install certain dependencies on Ubuntu before you can install dependencies via pip for the app.

  • sudo apt install -y libgdal-dev postgresql-server-dev-9.5
  • export C_INCLUDE_PATH=/usr/include/gdal
  • export CPLUS_INCLUDE_PATH=/usr/include/gdal

You will need a Postgres database:

psql -U postgres
create user wazimap_np with password 'wazimap_np';
create database wazimap_np;
grant all privileges on database wazimap_np to wazimap_np;

Import the sql files needed for SimpleTable entries:

cat sql/simpletables/*.sql | psql -U wazimap_np -W wazimap_np

Run migrations to keep Django happy:

python manage.py migrate

Import data for all the tables:

cat sql/*.sql | psql -U wazimap_np -W wazimap_np

Start the server:

python manage.py runserver

Docker based setup

Using this setup, one can run the project inside docker containers. This make the environments lightweight, reproducible and portable.

Requirements

Only the following things are required on your host machine. Nothing else needs to be installed.

  • GNU Make ( Version 4.0 and up )
  • Docker Engine ( Version 17.06 and hopefully upwards )
  • Docker Compose ( Version 1.14 and hopefully upwards )

Development environment

All commands are provided as make targets via Makefile. One can use docker and docker-compose directly for running the services, but some helpers are provided for consistency.

An application environment context (dev, stage, prod) has to be set along with any of the make ... commands. You can either export this in your shell environment, or pass it as an argument to the make target.

# Get all the Makefile documentation
APP_ENV=dev make help

Staging and Production environment (stage and prod)

This is very much similar to running the dev environment. Caddy is used instead of Nginx, because of it's automatic HTTPS certs and other easier-to-configure things. Some commands are added, else much of them are the same as above, expect for the APP_ENV context set to correct environment.

# Run in staging
APP_ENV=stage make ...

# Run in production
APP_ENV=prod make ...

NOTE: Check the comments in compose.<env>.yml before running them.

License

NepalMap code is licensed under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].