Skip to content

iwootten/wagtaildemo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wagtail demo

Setup (with Vagrant - recommended)

Dependencies

Vagrant 1.1+

Installation

Run the following commands:

git clone https://github.com/torchbox/wagtaildemo.git
cd wagtaildemo
vagrant up
vagrant ssh
  (then, within the SSH session:)
./manage.py createsuperuser
./manage.py update_index
./manage.py runserver 0.0.0.0:8000

This will make the app accessible on the host machine as http://localhost:8111/ . The codebase is located on the host machine, exported to the VM as a shared folder; code editing and Git operations will generally be done on the host.

Setup (without Vagrant)

Dependencies

Installation

With postgres, redis and elastisearch running, run the following commands:

git clone https://github.com/torchbox/wagtaildemo.git
cd wagtaildemo
pip install -r requirements.txt
./manage.py createdb
./manage.py manage.py syncdb
./manage.py createsuperuser
./manage.py runserver

Hosted Elasticsearch

If you don't want to run an Elasticsearch server in development or production, there are many hosted services available, including Searchly, who offer a free account suitable for testing and development. To use Searchly:

  • Sign up for an account at [dashboard.searchly.com/users/sign_up] (https://dashboard.searchly.com/users/sign_up)
  • Use your Searchly dashboard to create a new index, e.g. 'wagtaildemo'
  • Note the connection URL from your Searchly dashboard
  • Update WAGTAILSEARCH_ES_URLS and WAGTAILSEARCH_ES_INDEX in your local settings
  • Run ./manage.py update_index

About

Fork of torchbox's wagtaildemo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.3%
  • Shell 4.0%
  • Other 0.7%