Skip to content

zlenyk/BarterSpot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BarterSpot

How to launch the project locally

Assuming that $PROJECT is the project's main directory:

  • The file $PROJECT/BarterSpot/settings.py should contain paths to templates and static files in the project. They should be filled automatically. If there are any problems, add an absolute path to $PROJECT/static and $PROJECT/templates directories respectively into STATICFILES_DIRS and TEMPLATE_DIRS lists included in the settings.py .

  • Create a database with the parameters described in the DATABASES['default'] included in the settings.py . One can change the parameters at their discretion. By default it is postgreSQL database with the name 'barterdb' and the user 'barterman' with the password 'barterman'.

Afterwards, in the $PROJECT run: python manage.py syncdb which should create all the necessary tables in the datebase.

  • Finally, again in the $PROJECT directory run:python manage.py runserver [port]. The port is optional and by default is set to 8000. The website should be then available at http://localhost:port .

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •