Skip to content

Commit

Permalink
Merge pull request #54 from OkunaOrg/bugfix/subscribe-not-working
Browse files Browse the repository at this point in the history
🔥 remove database entirely
  • Loading branch information
lifenautjoe authored Sep 13, 2020
2 parents 6dcb6c5 + 966ad18 commit cd83379
Show file tree
Hide file tree
Showing 4 changed files with 110 additions and 7 deletions.
2 changes: 2 additions & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ pinocchio = "*"
colorama = "*"
nose-exclude = "*"
awsebcli = "*"
bandit = "*"
safety = "*"

[requires]
python_version = "3.6"
88 changes: 87 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 9 additions & 6 deletions openbook_org/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,16 @@

# Database
# https://docs.djangoproject.com/en/2.0/ref/settings/#databases

DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
if IS_PRODUCTION_ENVIRONMENT:
DATABASES = {
}
else:
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.sqlite3',
'NAME': ':memory:',
}
}
}

TEST_RUNNER = 'django_nose.NoseTestSuiteRunner'

Expand Down
12 changes: 12 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
asgiref==3.2.10
attrs==20.2.0
awsebcli==3.19.0
bandit==1.6.2
bcrypt==3.2.0
blessed==1.17.10
botocore==1.17.60
Expand All @@ -10,6 +11,7 @@ cement==2.8.2
certifi==2020.6.20
cffi==1.14.2
chardet==3.0.4
click==7.1.2
colorama==0.4.3
coverage==5.2.1
cryptography==3.1
Expand All @@ -22,31 +24,41 @@ docker[ssh]==4.3.1
dockerpty==0.4.1
docopt==0.6.2
docutils==0.15.2
dparse==0.5.1
future==0.16.0
gitdb==4.0.5
gitpython==3.1.8
idna==2.7
importlib-metadata==1.7.0 ; python_version < '3.8'
jmespath==0.10.0
jsonschema==3.2.0
mailchimp3==3.0.14
nose-exclude==0.5.0
nose==1.3.7
packaging==20.4
paramiko==2.7.2
pathspec==0.5.9
pbr==5.5.0
pinocchio==0.4.2
pycparser==2.20
pynacl==1.4.0
pyparsing==2.4.7
pyrsistent==0.17.2
python-dateutil==2.8.0
python-dotenv==0.14.0
pytz==2020.1
pyyaml==5.3.1
requests==2.20.1
safety==1.9.0
semantic-version==2.5.0
sentry-sdk==0.17.4
six==1.11.0
smmap==3.0.4
sqlparse==0.3.1
stevedore==3.2.2
termcolor==1.1.0
texttable==1.6.3
toml==0.10.1
urllib3==1.24.3 ; python_version != '3.4'
wcwidth==0.1.9
websocket-client==0.57.0
Expand Down

0 comments on commit cd83379

Please sign in to comment.