Skip to content

katherine95/Car-trade

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Car-trade

Car-trade is a web application that enables users to trade cars.

Usage

Prerequisites

Html5, CSS3, python, Django, PSQL

Getting Started

  1. Clone this repository:
`git clone https://github.com/katherine95/Car-trade.git`
  1. Change the directory into the project directory:
`cd Car-trade`
  1. Fetch all origin to get all branches:
`git fetch origin`
  1. Checkout to develop branch:
`git checkout develop`
  1. Create a virtual environment to allow you to manage separate package installations for different projects:
`virtualenv -p python3 venv`
  1. Activate virtual environment:
`source venv/bin/activate`
  1. Install requirements(all packages that the project needs):
`pip install -r requirements.txt`
  1. Start server
`python manage.py runserver`
  1. Setup database:
`sudo -u postgres psql`
`CREATE DATABASE dbname;`
  1. Configure database in projectname/settings.py file(dbname,user,password and maybe port if necessary):

  2. Create an admin user:

`python manage.py createsuperuser`
  1. Start server and head over to admin url on browser localhost:8000/admin:
`python manage.py runserver`

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages