1
Fork 0

use in memory sqlite

This commit is contained in:
Jake Howard 2016-04-26 19:04:18 +01:00
parent 83f341f3ba
commit 82266c9406
3 changed files with 1 additions and 5 deletions

1
.gitignore vendored
View file

@ -59,4 +59,3 @@ docs/_build/
target/ target/
private/ private/
database.db

View file

@ -67,7 +67,7 @@ WSGI_APPLICATION = 'project.wsgi.application'
# Database # Database
# https://docs.djangoproject.com/en/1.8/ref/settings/#databases # https://docs.djangoproject.com/en/1.8/ref/settings/#databases
DATABASES = { DATABASES = {
'default': dj_database_url.config(default=os.environ['DATABASE_URL']) 'default': dj_database_url.config(default='sqlite://memory')
} }
EMAIL_BACKEND = os.environ['EMAIL_BACKEND'] EMAIL_BACKEND = os.environ['EMAIL_BACKEND']

View file

@ -21,7 +21,4 @@ rm -rf static/build/
echo ">> Removing Stray Files and Folders..." echo ">> Removing Stray Files and Folders..."
rm -rf htmlcov/ .coverage rm -rf htmlcov/ .coverage
echo ">> Removing Database..."
rm -rf database.db
echo "> Much Fresher!" echo "> Much Fresher!"