mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2024-12-29 16:41:56 +00:00
fix ci
This commit is contained in:
parent
3cec686987
commit
c4889d7085
@ -6,7 +6,7 @@ services:
|
||||
- docker
|
||||
before_install:
|
||||
- docker pull postgres:10
|
||||
- docker run -it -d -e POSTGRES_DB=onlinejudge -e POSTGRES_USER=onlinejudge -e POSTGRES_PASSWORD=onlinejudge -p 127.0.0.1:5432:5432 postgres:10
|
||||
- docker run -it -d -e POSTGRES_DB=onlinejudge -e POSTGRES_USER=onlinejudge -e POSTGRES_PASSWORD=onlinejudge -p 127.0.0.1:5433:5432 postgres:10
|
||||
install:
|
||||
- pip install -r deploy/requirements.txt
|
||||
- cp oj/custom_settings.example.py oj/custom_settings.py
|
||||
|
@ -7,7 +7,7 @@ DATABASES = {
|
||||
'default': {
|
||||
'ENGINE': 'django.db.backends.postgresql_psycopg2',
|
||||
'HOST': '127.0.0.1',
|
||||
'PORT': 5432,
|
||||
'PORT': 5433,
|
||||
'NAME': "onlinejudge",
|
||||
'USER': "onlinejudge",
|
||||
'PASSWORD': 'onlinejudge'
|
||||
|
Loading…
Reference in New Issue
Block a user