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.
The app runs on django==1.11 and works with both bootstrap3 and runs currently on >= python3.5 ubuntu 16.04
For the application to work you need some basic installations.
- 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
-
To start a django app you have to install django e.g python3.6 -m pip install django==1.11
-
Then start a django project - django-admin startproject projectname
-
Inside the django project start a django-app - django-admin startapp appname
-
for more info please read the django documentation
-
Error: - No module named django. Soln: install django in this format python3.6 -m pip install django==1.11
-
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 *
- 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
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
- posgresql
- pyscopg2
- django==1.11
- python3.5
- bootstrap3
- javascript
- uploadcare
for deployment in heroku please click on this link and follow the steps very keenly deployment
fh5co ASUMANI
- For anyproblem please contact at asumanifh5co@gmail.com
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.***