Skip to content

Latest commit

 

History

History
55 lines (33 loc) · 1.42 KB

README.md

File metadata and controls

55 lines (33 loc) · 1.42 KB

palawan-wildlife-field-guide

Palawan Wildlife Field Guide is made as a project for MSIT. It is built with Python using the Django Web Framework.

This project has the following basic apps:

  • Species (This app, allows you to view Critically Endangered Species in Palawan )
  • Profile (Users Profile Page)
  • accounts (User's Account page)

Installation

Quick start

To set up a development environment quickly, first install Python 3. It comes with virtualenv built-in. So create a virtual env by:

1. `$ python3 -m venv env`
2. `$ /env/bin/activate`
3. `you'll see something like (env) as prefix for your working directory`

Install all dependencies:

pip install -r requirements.txt

Set Environment Variables

1. copy local.sample.env at <this_project_name>/src/<this_project_name>/settings/ as local.env 
2. set new SECRET_KEY, you can generate at this site https://www.miniwebtool.com/django-secret-key-generator/
3. set the database to use if you do not prefer sqlite

Run migrations:

python manage.py migrate

Create Admin account:

python manage.py createsuperuser
provide information username, email, password

Run application:

python manage.py runserver
browse at localhost:8000

Detailed instructions

Take a look at the docs for more information.

palawan-wildlife-field-guide

Copyleft 2018.