-
-
Notifications
You must be signed in to change notification settings - Fork 15
Setting up development enviorment
Adam Schubert edited this page Mar 23, 2019
·
2 revisions
apt install python3-virtualenv virtualenv git redis rabbitmq
git clone [email protected]:Salamek/gitlab-tools.git
cd gitlab-tools
virtualenv -p /usr/bin/python3 venv
source ./venv/bin/activate
pip install -r requirements.txt
python manage.py
Should output command line options help
Create config.yml next to the manage.py (or in /etc/gitlab-tools/config.yml) with this content:
GITLAB_APP_ID: Gitlab_app_id
GITLAB_APP_SECRET: Gitlab_app_secret
GITLAB_URL: Gittlab_url
By default SQLite database is used for unconfigured installation located at /tmp/gitlab-tools.db If you want to use different database (Like production PostgreSQL)
SQLALCHEMY_DATABASE_URI: postgresql://gitlab-tools:[email protected]/gitlab-tools
python manage.py create_all
python manage.py migrations stamp head
python manage.py server
python manage.py celeryworker