Skip to content

FaithTechGlobalLabs/suicide-prevention

 
 

Repository files navigation

suicide-prevention

Suicide Prevention website - Waterloo Hackathon

http://howtokillyourself.org

An SEO focused website that aims to be the top result when people search "how to kill yourself". We provide useful resources and let them know they're not alone.

Write in Django 1.10, Foundation

INSTALL

To install the requirements pip3 install -r requirements.txt

To run database migrations python3 manage.py migrate

To run the suicide site: python3 manage.py runserver --settings=suicide_site.settings

Create a test user python3 manage.py createsuperuser --username=test --email=test@example.com

Docker Development environment

If you are new to this project the fastest way to get a development environment running is to download docker for (mac/windows/linux).

Use the following commands from the project root folder. The site will be available at http://0.0.0.0:8000.

$ docker-compose up
Starts the app

When you're done working you can kill the containers using ctrl-c.

If you run into issues you might have to:

$ docker-compose build --no-cache --pull
rebuilds the python dependencies
$ docker-compose rm -vf
removes containers and volumes
$ docker-compose up
Starts the app with fresh everything

Any issues with docker contact IanEdington (IanEdington@gmail.com, 514.318.3053).

About

Suicide Prevention Website - Waterloo Hackathon

Topics

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 48.8%
  • Python 32.9%
  • CSS 11.4%
  • JavaScript 5.3%
  • Other 1.6%