Skip to content

mateuszkawa/pythonhotelproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pythonhotelproject

Setting-up IDE with Project

  1. PyCharm - Create Project. - choose location (for example: D:\DEVELOPMENT\Python\workspace\GIThubPythonProject).
  2. Run (git bash?) and go to created directory (for example: cd D:\DEVELOPMENT\Python\workspace\GIThubPythonProject).
  3. Enter copy command (for example: git clone git@github.com:mateuszkawa/pythonhotelproject.git).
  4. Change focus to PyCharm, View -> Tool Windows -> Project (Alt + 1). Now everything should be fine.

Start

Just run webapp.py. After this we just have to launch localhost on port 8090/hotel to see 1st sample page.

Python

First of all we should get the same python version (as I understood some of us will use Windows). That's why we should all have python 3.5.2. Download from: https://www.python.org/

IDE

Let's use PyCharm Community Edition: https://www.jetbrains.com/pycharm/download/

Additional installation

In order to start We need several additional python libraries:

  1. Tornado - simply start use pip:
  • Start a cmd as an Administrator.
  • 'pip install tornado'
  1. Mako - like in Tornado:
  • Start a cmd as an Administrator.
  • 'pip install Mako'
  1. Database Connector:
  • Start a cmd as an Administrator.
  • 'pip install psycopg2'
  1. ORM - SQLAlchemy:
  • Start a cmd as an Administrator.
  • 'pip install sqlalchemy'

Additional Info

  1. Material kit page: http://demos.creative-tim.com/material-kit/index.html
  2. PostgreSQL database is set to base configuration:
  • address: 127.0.0.1
  • port: 5432
  • login: postgres
  • password: postgres
  1. To setup schema simply run setup.py from dao module.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published