CyberSeed2017 / django_server

0 stars 0 forks source link

Steps Followed #3

Open MichaelDimmitt opened 7 years ago

MichaelDimmitt commented 7 years ago

Add Steps Below:

ahmsayat commented 7 years ago

install pip:

sudo apt-get install python-pip

ahmsayat commented 7 years ago

install Virtualenv: pip install virtualenv

ahmsayat commented 7 years ago

Create Project Folder:

mkdir myproject && touch myproject/requirements.txt cd myproject && virtualenv venv . venv/bin/activate

ahmsayat commented 7 years ago

Follow these steps here: https://stackoverflow.com/questions/35991403/python-pip-install-gives-command-python-setup-py-egg-info-failed-with-error-c

ahmsayat commented 7 years ago

Install Django and Stuff: https://medium.com/code-zen/django-mariadb-85cc9daeeef8

Install brew: http://linuxbrew.sh/

ahmsayat commented 7 years ago

Install django: https://www.djangoproject.com/download/

ahmsayat commented 7 years ago

studentLetMeIn@UNF

ahmsayat commented 7 years ago

https://docs.djangoproject.com/en/1.11/intro/tutorial01/

tylercoverstone commented 7 years ago

http://docs.wagtail.io/en/v1.9/getting_started/index.html

ahmsayat commented 7 years ago

Integrating Wagtail into a Django project: http://docs.wagtail.io/en/v1.9/getting_started/integrating_into_django.html

MichaelDimmitt commented 7 years ago

install MariaDB: sudo apt-get update && sudo apt-get install -y --force-yes supervisor mariadb-server openssh-server

MichaelDimmitt commented 7 years ago

sudo apt-get install -y --force-yes \ emacs24-nox \ git \ openjdk-7-jdk \ openjdk-7-jre

Having MariaDB installed, you can confirm the installation with:
mysql -V
ahmsayat commented 7 years ago

Need to follow wagtail: http://docs.wagtail.io/en/v1.9/getting_started/index.html

MichaelDimmitt commented 7 years ago

I had to do this to get working on my computer

-from django.conf.urls import patterns, include, url
-
+from django.conf.urls import url
 from django.contrib import admin
 admin.autodiscover()

-urlpatterns = patterns('',
+urlpatterns = [
     # Examples:
     # url(r'^$', 'myproject.views.home', name='home'),
     # url(r'^blog/', include('blog.urls')),
-
-    url(r'^admin/', include(admin.site.urls)),
-)
+    url(r'^admin/', admin.site.urls),
+]