High-quality digital signage generation system that can be customized by user
- Language: Python 3.6.1
- Other requirements: Specified in requirements.txt
- Commit message should have no problem when it is interpreted as "This commit will <commit_msg>"
- In other words, always start with verb in infinitive form (e.g. start with "Update", not "Updates")
- Always capitalize the commit message
- Commit message must be shorter than 50 characters
- It is recommended to write detailed commit description for every commit
- TODO: Styling tool or static analyzer should be applied
- Update requirements.txt whenever you install the new package with pip installer
- Always include version information (i.e. Flask==0.12.2)
- Tested in Ubuntu 16.04.2 LTS
- Install dependencies
~$ sudo apt-get install -y make build-essential libssl-dev zlib1g-dev libbz2-dev libreadline-dev \
> libsqlite3-dev wget curl llvm libncurses5-dev libncursesw5-dev xz-utils tk-dev
~$ sudo apt-get install git #If git is not installed
- Install pyenv using pyenv-installer
~$ curl -L https://raw.githubusercontent.com/pyenv/pyenv-installer/master/bin/pyenv-installer | bash
- If warning occurs, add presented commands in
~/.bashrc
and restart the shell - Update pyenv
~$ pyenv update
- Install Python 3.6.1 in pyenv
~$ pyenv install 3.6.1
- Create virtual environment for development with Python 3.6.1
~$ pyenv virtualenv 3.6.1 venv
- Activate virtual environment
~$ pyenv activate venv
- Clone the repository and move the directory into it
~$ git clone https://github.com/limgit/guess
#If credential is required, enter it.
~$ cd guess
- Install the requirements
~/guess$ pip install -r requirements.txt
- PROFIT!
Everytime you work on the repository, activate virtualenv with $ pyenv activate venv
.
To deactivate, $ pyenv deactivate
is used.