Fakultas Ilmu Komputer UI
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Fasilkom UI Open Source Software
Kape
Commits
477187ac
Commit
477187ac
authored
Mar 05, 2017
by
Zamil Majdy
Browse files
#140382397 #5 Update CI script (add postgre)
parent
2b3a1f51
Changes
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
477187ac
...
...
@@ -3,7 +3,14 @@ test:
-
export DATABASE_URL=postgres://kape:kape@104.236.76.161:5432/kape
-
apt-get update -qy
-
apt-get install -y python-dev python-pip
-
sudo apt-get install -y postgresql postgresql-client libpq-dev
-
sudo service postgresql start
-
sudo -u postgres psql -d kape
-
CREATE USER kape WITH PASSWORD 'kape' CREATEDB;
-
CREATE DATABASE kape OWNER kape;
-
\q
-
pip install -r requirements.txt
-
python manage.py migrate
-
python manage.py test
staging
:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment