Skip to content

A proof-of-concept of a business idea - a portal to rent stuff out peer to peer

Notifications You must be signed in to change notification settings

kristjanr/Rentwise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

YBuy p2p renting app

A Django 1.10 based web app built with Python 3.6, using Postgresql database using the Heroku Django Template Built for running on Heroku.

Local setup on OSX

  • Install postgres database. Currently, Heroku uses 9.3.15 but the development has been successfully done with 9.6.1.0, so both are fine
  • Copy .env_default file as .env and add the correct environment variables
  • Set the environment variables: source .env
  • pip install -r requirements.txt
  • python manage.py collectstatic

Running tests

python manage.py test

Running server

python manage.py runserver

Deploy

  • git push heroku master
  • Check that you have all the needed environment variables at Heroku
  • If migrations were added, then run migrate on heroku: heroku run python manage.py migrate

About

A proof-of-concept of a business idea - a portal to rent stuff out peer to peer

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published