Open MichaelDimmitt opened 7 years ago
install pip:
sudo apt-get install python-pip
install Virtualenv:
pip install virtualenv
Create Project Folder:
mkdir myproject && touch myproject/requirements.txt
cd myproject && virtualenv venv
. venv/bin/activate
Install Django and Stuff: https://medium.com/code-zen/django-mariadb-85cc9daeeef8
Install brew: http://linuxbrew.sh/
Install django: https://www.djangoproject.com/download/
studentLetMeIn@UNF
Integrating Wagtail into a Django project: http://docs.wagtail.io/en/v1.9/getting_started/integrating_into_django.html
install MariaDB:
sudo apt-get update && sudo apt-get install -y --force-yes supervisor mariadb-server openssh-server
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
Need to follow wagtail: http://docs.wagtail.io/en/v1.9/getting_started/index.html
-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), +]
Add Steps Below: