Public | Automated Build

Last pushed: 2 years ago
Short Description
Golingo build
Full Description

golingo

Learn english by quizzes

  • Requires Python3

Clone the project

$ git clone git@github.com:jesuejunior/golingo.git
$ cd golingo

Install virtualenv

It's better and easy if you use virtualenv

  • On Unix-like

$ sudo apt-get install python-pip

  • On OSX

sudo easy_install pip

Install virtualenvwrapper via PIP

$ sudo pip install virtualenvwrapper

Creating virtualenv on Unix0like with Python3

$ mkvirtualenv --python=/usr/bin/python3 golingo

Creating virtualenv on OSX with Python3

$ mkvirtualenv --python=/usr/local/bin/python3 golingo

Install dependencies for the project

$ pip install -r requirements.txt

Create a container of PostgreSQL if you don't have docker installed you will need run PostgreSQL instance locally

docker run --name postgres -p 5432:5432 -e POSTGRES_PASSWORD=123456 -e POSTGRES_USER=postgres -e POSTGRES_DB=golingo -d postgres

Run migrations

$ python manager.py migrate auth && python manager.py migrate

Run syncdb to create an admin user

$ python manager.py syncdb

Run all tests

$ py.test

Run server on development mode

$ python manager.py runserver
Docker Pull Command
Owner
jesuejunior
Source Repository

Comments (0)