- Linux Mint 19.3
- Python 3.8.5
- Poetry 1.1.4
- Docker 19.03.14
- Docker-Compose 1.26.0
$ sudo apt install libpq-dev git gcc libc6-dev
$ git clone https://github.com/FNSdev/gitrello.git
$ cd gitrello
Consider using pyenv
and pyenv-virtualenv
$ pyenv virtualenv 3.8.5 gitrello
$ pyenv local gitrello
$ poetry install
$ docker-compose up
$ docker exec -it roach_1 ./cockroach init --insecure
$ docker exec -it roach_1 ./cockroach sql --insecure
create database gitrello;
create user gitrello;
grant all on database gitrello to gitrello;
grant admin to gitrello;
It should be OK to use default values for now.
$ cp .env.local .env
$ cd gitrello
$ python manage.py migrate
$ python manage.py test
$ python manage.py runserver
Follow instructions in https://github.com/FNSdev/gitrello-github-integration-service
Visit https://github.com/settings/developers to create a new Oauth application.
Remember it's client_id
and client_secret
.
- GITHUB_INTEGRATION_SERVICE_URL - http://0.0.0.0:8001 by default
- GITHUB_INTEGRATION_SERVICE_TOKEN - Should be the same as GITRELLO_ACCESS_TOKEN in gitrello-github-integration-service
- GITHUB_CLIENT_ID - use value from the previous step
- GITHUB_CLIENT_SECRET - use value from the previous step