From b9de93ce6b26f2edeca22724c8caf36065797fac Mon Sep 17 00:00:00 2001 From: Jason Redd Date: Tue, 9 Dec 2014 10:44:05 -0600 Subject: [PATCH 1/3] Delete README.md --- README.md | 0 1 file changed, 0 insertions(+), 0 deletions(-) delete mode 100644 README.md diff --git a/README.md b/README.md deleted file mode 100644 index e69de29..0000000 From f0a0422e05e43fee1d5c524730afd2466f6c8444 Mon Sep 17 00:00:00 2001 From: Jason Redd Date: Tue, 9 Dec 2014 10:44:37 -0600 Subject: [PATCH 2/3] Create README.md added in a read me that works --- README.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..65dec7c --- /dev/null +++ b/README.md @@ -0,0 +1,32 @@ + + +#Redd Manager +Please be sure to install the requirements in the requirments.txt fiel. Being able to work on python virtual environemtns is key as well for gunicorn to function. + +###Django settings.py data setup +I do not keep the db server setup the django's settings.py needs on git since it contains password information but it looks a little something like this and connects to a local postgresql server. I've also included a copy of my nginx server config file + + DATABASES = { + 'default': { + 'ENGINE': 'django.db.backends.postgresql_psycopg2', + 'NAME': 'db_name', + 'USER': 'john', + 'PASSWORD': 'reallyhardPWhere', + 'HOST': 'localhost', + 'PORT': '5432' + } + } + + +###Gunicorn instantion +This is how I spin up the Application instances. I have to be inside of the redd forlder containing the django application. + + gunicorn redd.wsgi:application --bind=127.0.0.1:9001 + gunicorn redd.wsgi:application --bind=127.0.0.1:7001 + +###Ember Front End +The front end is pretty simple. Just point nginx to the folder that contains the index.html file. + +##Heads up + +Be sure to change the logging file paths in the nginx settings files you use them. Also be sure to point the Djang servers in the .conf file at the proper directory. From df59a2d23012f2d46bbca3ffb83dba5f8d659902 Mon Sep 17 00:00:00 2001 From: Jason Redd Date: Tue, 9 Dec 2014 10:47:03 -0600 Subject: [PATCH 3/3] Update README.md fixed some spelling errors --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 65dec7c..61ad359 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ #Redd Manager -Please be sure to install the requirements in the requirments.txt fiel. Being able to work on python virtual environemtns is key as well for gunicorn to function. +Please be sure to install the requirements in the requirements.txt fiel. Being able to work on python virtual environments is key as well for Gunicorn to function. ###Django settings.py data setup -I do not keep the db server setup the django's settings.py needs on git since it contains password information but it looks a little something like this and connects to a local postgresql server. I've also included a copy of my nginx server config file +I do not keep the db server setup the Django's settings.py needs on git since it contains password information but it looks a little something like this and connects to a local postgreSQL server. I've also included a copy of my nginx server config file DATABASES = { 'default': { @@ -18,8 +18,8 @@ I do not keep the db server setup the django's settings.py needs on git since it } -###Gunicorn instantion -This is how I spin up the Application instances. I have to be inside of the redd forlder containing the django application. +###Gunicorn instantiation +This is how I spin up the Application instances. I have to be inside of the redd folder containing the django application. gunicorn redd.wsgi:application --bind=127.0.0.1:9001 gunicorn redd.wsgi:application --bind=127.0.0.1:7001 @@ -29,4 +29,4 @@ The front end is pretty simple. Just point nginx to the folder that contains the ##Heads up -Be sure to change the logging file paths in the nginx settings files you use them. Also be sure to point the Djang servers in the .conf file at the proper directory. +Be sure to change the logging file paths in the nginx settings files you use them. Also be sure to point the Django's servers in the .conf file at the proper directory.