Willbeckh / ubuntu

Neighborhood watch django application

Home Page:https://hood-w.herokuapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hood Watch

Neighborhood watch django application. This application let's users join neighborhoods listed in it, become a member and can explore different facilities available.

Requirements

  • Python3
  • Code editor
  • PostgreSQL
  • Understanding of Django

Setup

Open Vs Code, create a directory and make a directory inside::

git clone https://github.com/Willbeckh/ubuntu.git 

cd ubuntu

# make env
pipenv shell

pipenv install Pipfile

create .env file && set the following config vars for the application

DB_USER = <username >
DB_PASSWORD = <password >
DB_HOST = <host >
DB_PORT = <port >
DB_NAME = <dbname >
SECRET_KEY = <secret_key >
MODE = 'dev'

CLOUDINARY_CLOUD_NAME = <cloud_name >
CLOUDINARY_API_KEY = <api_key >
CLOUDINARY_API_SECRET = <api_secret >

Running

Migrate all the db models: ./manage.py migrate

Running the application use:

./manage.py runserver

# terminal output
Watching for file changes with StatReloader
Performing system checks...

System check identified no issues (0 silenced).
June 22, 2022 - 05:42:12
Django version 4.0.4, using settings 'guard_project.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.

Running Tests

./manage test

Watching the project

If you track any bug or have an improvement:

Authors

Willbeckh : fullstack developer, a wizard at his craft. Bruno Ngugi: code genius | Fullstack developer

made with ❤️ by Willbeckh && Bruno

🐦 Twitter

Licence

Project license under the MIT free license.

MIT

cREDITS

To my IDE, stackoverflow, &Technical Mentor

About

Neighborhood watch django application

https://hood-w.herokuapp.com/

License:MIT License


Languages

Language:Python 63.8%Language:HTML 29.3%Language:CSS 4.2%Language:JavaScript 2.7%