Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

kobinpy/kobin-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kobin-todo

Todo application using Kobin.

animation

Running Kobin TODO by Docker

Set Environment Variables.

export KOBIN_TODO_GITHUB_CLIENT_ID=xxxxxxxxxxxxxxxxxxxx
export KOBIN_TODO_GITHUB_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Run with Docker.

$ docker-compose build
$ docker-compose up -d
$ docker-compose run server python manage.py migrate

Other:

  • bash: docker-compose exec server /bin/bash
  • logs: docker-compose logs -f server
  • psql: psql -h localhost --user kobin kobintodo

How to build

Set Environment Variables

export KOBIN_TODO_ENV=develop
export KOBIN_TODO_GITHUB_CLIENT_ID=xxxxxxxxxxxxxxxxxxxx
export KOBIN_TODO_GITHUB_CLIENT_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Compile TypeScript and Stylus

$ cd front
$ npm install
$ npm run build

Run redis and postgresql

$ docker-compose up -d redis postgres

Setup python interpreter

$ python3.6 -m venv venv
$ source venv/bin/activate
$ pip install -c requirements/constraints.txt -r requirements/general.txt -r requirements.dev.txt
$ python manage.py migrate

Run

$ python manage.py run

About

Example application for Kobin framework. Using Angular2 as a frontend framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published