Sign inSign up

jesuejunior/golingo

By jesuejunior

•Updated over 10 years ago

Golingo build

Image
0

358

jesuejunior/golingo repository overview

⁠golingo

Learn english by quizzes

  • Requires Python3
⁠Clone the project
$ git clone [email protected]: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

Tag summary

Content type

Image

Digest

Size

79.4 MB

Last updated

over 10 years ago

docker pull jesuejunior/golingo