Git Product home page Git Product logo

nziokaivy / hood Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 19.87 MB

This web-app that allows you to be in the loop about everything happening in your neighborhood by allowing the user to sign in to use the application, set up a profile and is able to view businesses,health centres and police authorities in the neighbourhood.

Home Page: https://ivyhood.herokuapp.com/

Python 96.48% Shell 0.05% CSS 0.60% JavaScript 1.50% HTML 1.37%

hood's Introduction

iHood

Description.

This web-app that allows you to be in the loop about everything happening in your neighborhood by allowing the user to sign in to use the application, set up a profile and is able to view businesses,health centres and police authorities in the neighbourhood.

By Ivy Nzioka

Working of the application

When the user opens the website, he/she will be prompted to sign up or sign in.

  • The user will be able to see businesses,health centres and police authorities in the neighbourhood that other users have posted.
  • The user can also add their own business and news.
  • The user can create Posts that will be visible to everyone in my neighborhood.
  • The user also has a personalized profile where they can edit their profile.
  • The user can change My neighborhood when I decide to move out.

Getting Started

Prerequisites

To get started , one will need to install python3.6 or a higher version, django and postgres using the commands below:

* python3.6
$ sudo apt-get install python3.6.

* django 
$ pip install django==1.11

* postgres
$ sudo apt-get install postgresql postgresql-contrib libpq-dev

Requirements

config==0.3.9
confusable-homoglyphs==3.2.0
dj-database-url==0.5.0
Django==1.11
django-bootstrap3==11.0.0
django-forms-bootstrap==3.1.0
django-heroku==0.3.1
django-registration==2.4.1
django-tinymce==2.8.0
gunicorn==19.9.0
Pillow==5.4.1
psycopg2==2.7.7
python-decouple==3.1
pytz==2018.9
whitenoise==3.3.1

.env file

SECRET_KEY='1@j(rqi-n7kzj6#b@9@lx2cpa$$29*f48dclsefns4gn^#@3uy'
DEBUG=True 
DB_NAME='awards'
DB_USER='ivy'
DB_PASSWORD='data123'
DB_HOST='127.0.0.1'
MODE='dev'
ALLOWED_HOSTS=['*']
DISABLE_COLLECTSTATIC=1

Setup/Installation Requirements

  • Install galerie by cloning this repository: <https://github.com/nziokaivy/hood>
  • Install the prerequisites in a virtual environment or globally
  • Install all the extensions listed in the requirements.txt file using the command pip install -r requirements.txt
  • Run the command "python3.6 manage.py runserver" to launch the application

Running tests

  • You can run tests using the command:
python3.6 manage.py test neighbourhood

Live Demo

Here is a link to a live demo:[id]https://ivyhood.herokuapp.com/

Technologies Used

  • Python3.6
  • postgress
  • HTML
  • CSS
  • Django framework

Bugs

Incase of any bugs:-

  • Fork a repo
  • Create a new branch (git checkout -b improve-feature)
  • Make the appropriate changes in the files
  • Add changes to reflect the changes made
  • Commit your changes (git commit -m "Improve feature"
  • Push to the branch (git push origin improve-feature)
  • Create a Pull Request

Support and contact details

If you have any issues feel free to contact me at [email protected].

License

MIT License. Copywright (c) 2018 Ivy Nzioka.

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.