use in memory sqlite
This commit is contained in:
parent
83f341f3ba
commit
82266c9406
3 changed files with 1 additions and 5 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -59,4 +59,3 @@ docs/_build/
|
||||||
target/
|
target/
|
||||||
|
|
||||||
private/
|
private/
|
||||||
database.db
|
|
||||||
|
|
|
@ -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']
|
||||||
|
|
|
@ -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!"
|
||||||
|
|
Reference in a new issue