Skip to content

naxa-developers/geoportal-old

Repository files navigation

Geoportal

Python Version Django Version CircleCI

GeoPortal facilitates searching and finding geospatial data and associated information services in Nepal and promotes geospatial data sharing in the country.

The Portal has been developed by Survey Department, Geographic Information Infrastructure Division (NGIID), Government of Nepal.

Setup Process

Simply copy local_settings_sample file to same directory of local_settings_sample naming local_settings.py.

Geoportal with Docker setup

For Development

cp local_settings_sample.py local_settings.py
docker build -t geoportal .
docker-compose up
Application will run on port 8019, you can change it from docker-compose.yaml file.

For Production 

cp local_settings_sample.py local_settings.py
docker build -t geoportal:0.1.0 -f prod.Dockerfile .
docker tag geoportal:0.1.0 geoportal/geoportal:0.1.0
docker-compose -f docker-compose-prod.yaml up -d
Application will run on port 8019

Check logs docker-compose logs -f --tail 100
Django command shell docker exec -it geoportal_web python manage.py shell
Postgres command shell docker exec -it geoportal_postgres psql -U postgres

Alternatives Geoportal setup using virtualenvironment (If you are not familiar with docker)
Create virtual environment
Activate the environment
pip install -r requirements.txt
cp local_settings_sample.py local_settings.py
python manage.py runserver

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors