GithubHelp home page GithubHelp logo

layersony / ghettowatch Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 1.51 MB

A WebApp that allows one to be in the loop about everything happening in one's neighbourhood

Home Page: https://ghettowatch.herokuapp.com/index/

License: MIT License

Python 60.72% HTML 33.15% CSS 5.25% JavaScript 0.89%
django python ajax heroku herokuapp

ghettowatch's Introduction

GHETTO WATCH

Created on 24 July 2021

By Samuel Maingi Mutunga


Description

Have Created a WebApp that allows one to be in the loop about everything happening in one's neighbourhood. It has A section for post where the latest happenings are posted. It has contact information for Police and health services


User Stories

User Can :-

  • Sign in with the application to start using.
  • Set up a profile about me and a general location and my neighborhood name.
  • Find a list of different businesses in my neighborhood.
  • Find Contact Information for the health department and Police authorities near my neighborhood.
  • Create Posts that will be visible to everyone in my neighborhood.
  • Change My neighborhood when I decide to move out.
  • Only view details of a single neighborhood.

Access the website

Need the latest browser to be able to View

Follow this link https://ghettowatch.herokuapp.com/index/

It is hosted by heroku


Setup and Installation

To get the project .......

Clone Repository:
https://github.com/layersony/ghettowatch.git
Install and activate Virtual Enviroment envgallery
cd awwwards  && python3 -m venv envghetto && source envghetto/bin/activate 
Install Dependencies
pip install -r requirements.txt 
Setup Database

SetUp Database User,Password, Host then following Command

Create .env file

  SECRET_KEY='<SECRET_KEY>'
  DEBUG=True 
  DB_NAME='database name'
  DB_USER='database user'
  DB_PASSWORD='password'
  DB_HOST='127.0.0.1'
  MODE='dev'
  ALLOWED_HOSTS='.localhost', '.herokuapp.com', '.127.0.0.1'
  DISABLE_COLLECTSTATIC=1

  EMAIL_USE_TLS=True
  EMAIL_HOST='smtp.gmail.com'
  EMAIL_PORT=587
  EMAIL_HOST_USER='email'
  EMAIL_HOST_PASSWORD='email-password'
python manage.py makemigrations ghetto 

Now Migrate

python manage.py migrate 
Run Application
python3 manage.py server 
Test Application
python manage.py test ghetto

Open the application on your browser 127.0.0.1:8000.

Access Django Admin

>>> Username: layersony
>>> Password: < Buy me Coffee >

Technology used

  • HTML, CSS, Bootstrap

  • Git

  • Pythonp, Django Framework, Rest_framework

  • Heroku

Bugs

  • None at the Moment

Contact Details

[email protected]

@code_with_maingi (Twitter)

@Maingi Slack Moringa


License

This Project is under the MIT license

Copyright (c) 2021 MaingiSamuel

ghettowatch's People

Contributors

layersony avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.