From 3045c92fc339b85256afb4a0cdbcffeed064736a Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 31 Dec 2015 16:38:08 +0000 Subject: [PATCH 1/2] Remove postgres --- .gitignore | 1 + etc/environments/deployment/env | 2 +- etc/environments/development/env | 4 ++-- requirements.txt | 1 - 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index 3a7e4a2..9e45b85 100644 --- a/.gitignore +++ b/.gitignore @@ -59,3 +59,4 @@ docs/_build/ target/ private/ +database.db diff --git a/etc/environments/deployment/env b/etc/environments/deployment/env index 4e8ac0e..d79c86a 100644 --- a/etc/environments/deployment/env +++ b/etc/environments/deployment/env @@ -1,3 +1,3 @@ DEBUG=false -DATABASE_URL=postgres://localhost/theorangeonenet +DATABASE_URL=sqlite:///database.db EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend diff --git a/etc/environments/development/env b/etc/environments/development/env index 1e9eaf3..e0bf99a 100644 --- a/etc/environments/development/env +++ b/etc/environments/development/env @@ -1,3 +1,3 @@ DEBUG=true -DATABASE_URL=postgres://localhost/theorangeonenet -EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend \ No newline at end of file +DATABASE_URL=sqlite:///database.db +EMAIL_BACKEND=django.core.mail.backends.console.EmailBackend diff --git a/requirements.txt b/requirements.txt index 02ee727..0d89d27 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,6 @@ djangorestframework==3.2.0 djorm-ext-pgfulltext==0.10 flake8==2.4.1 pep8==1.5.7 -psycopg2==2.6.1 pycrypto==2.6.1 pyflakes==0.8.1 six==1.9.0 From 04b63d8f88dbcfd9ffe106881616ff6ac6d3ffbf Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 3 Jan 2016 00:10:02 +0000 Subject: [PATCH 2/2] Added maintenance message --- templates/index.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/templates/index.html b/templates/index.html index 9763d0d..2e62590 100644 --- a/templates/index.html +++ b/templates/index.html @@ -23,7 +23,7 @@ Printr Module for Python. Display messages like a BOSS! Hipchat emoticons on other websites? Yes Please! All the Roboics media is finally live! - + Undergoing Maintenance
@@ -34,6 +34,15 @@
+
+

My website is currently being re-written, to make it look nicer, and fix a bug on mobile.

+

+ There are a lot of changes that need to be made, mainly in looks. So this will take a while. In the mean time, this site isn't being updated with any new content. +

+

+ Check up on my progress here. +

+