Skip to content

Jirani -hood is a simple application that shows differeent neighbourhoods

License

Notifications You must be signed in to change notification settings

BRIGHTON-ASUMANI/JIRANI-HOOD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JIRANI

JIRANI is a swahili word meaning Neighbor. This is an application that allows users to create a neighbourhood, join a neighbourhood, leave a neighbourhood and add business an also edit and delete profiles

A user will be able to post an image of their profile, add a bio to that profile.

prerequisites

The app runs on django==1.11 and works with both bootstrap3 and runs currently on >= python3.5 ubuntu 16.04

installation

For the application to work you need some basic installations.

  1. install a virtualenv in your root folder
  • sudo apt-get install python3-pip
  • sudo pip3 install virtualenv
  • virtualenv venv after the above process make sure you activate the virtual by writing source virtual/bin/activate
  1. To start a django app you have to install django e.g python3.6 -m pip install django==1.11

  2. Then start a django project - django-admin startproject projectname

  3. Inside the django project start a django-app - django-admin startapp appname

  4. for more info please read the django documentation

Emerging Errors

  1. Error: - No module named django. Soln: install django in this format python3.6 -m pip install django==1.11

  2. Error: - Programming Error. soln: make sure you migrate your database after you make changes python3.6 manage.py makemigrations and then python3.6 manage.py migrate

programming is prone to errors therfore make sure ou install everything required in the requirements.txt and you do this by typing *python3.6 pip install -r requirements.txt *

  1. Error: - Field Error. soln: make sure you migrate your check the required fields in the models.py python3.6 manage.py makemigrations and then python3.6 manage.py migrate

Running Tests

After passing in diferrent functions in this application, one has to write tests some of the functions include: note tests have to be assigned in the tests.py module

Technologies Used

  1. posgresql
  2. pyscopg2
  3. django==1.11
  4. python3.5
  5. bootstrap3
  6. javascript
  7. uploadcare

Deployment to Heroku

for deployment in heroku please click on this link and follow the steps very keenly deployment

Authors

fh5co ASUMANI

Licence

This project is licensed under the MIT License

***MIT License

Copyright (c) 2018 bright

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.***

About

Jirani -hood is a simple application that shows differeent neighbourhoods

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published