kszarlej / libkeep

University project - system for maintaining library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

libkeep (A university project)

Libkeep is an application for managing&maintaining library (with books ofc).

Needed packages

Development on linux

  • clone this repository
  • run ln -s docker-dev.yml docker-compose.yml
  • run docker-compose build
  • run docker-compose up -d
  • go to 127.0.0.1:5000
  • check logs under ./log directory

Development on OSX

  • clone this repo
  • run docker machine docker-machine start default
  • grab IP address of your machine docker-machine ip default
  • run ln -s docker-prod.yml docker-compose.yml
  • run docker-compose build
  • run docker-compose up -d
  • go to [docker-machine ip default]:5000
  • check logs under ./log directory

Testing

  • run docker-compose run app test

it will run py.test inside of the container, you can pass --pdb to enable debugger on test fail

Installing dependencies

  • run docker-compose run app pip "package_name"

it will install "package_name" to your virtualenv (if DEBUG is True) or to the global site-package. You can pass --save or --save-dev to save "package_name" inside of requirements file

About

University project - system for maintaining library

License:Apache License 2.0


Languages

Language:Python 96.8%Language:Shell 3.2%