springload/vagrant-wagtail-develop

Name: vagrant-wagtail-develop

Owner: Springload

Description: A script to painlessly set up a Vagrant environment for development of Wagtail

Forked from: wagtail/vagrant-wagtail-develop

Created: 2016-09-07 15:16:17.0

Updated: 2017-07-03 00:02:10.0

Pushed: 2017-08-11 16:33:37.0

Homepage: null

Size: 13

Language: Shell

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

vagrant-wagtail-develop

A script to painlessly set up a Vagrant environment for development of Wagtail.

Features
Setup

Clone this repo, and run:

./setup.sh

(On platforms that can't run shell scripts, run the commands from setup.sh manually instead.)

This will build a VM instance ready for you to SSH into:

vagrant ssh
What you can do

Start up wagtaildemo:

./manage.py runserver 0.0.0.0:8000

and visit http://localhost:8000. The admin interface is at http://localhost:8000/admin/ - log in with admin / changeme

Run tests:

cd ../wagtail
./runtests.py

Build front-end assets:

cd ../wagtail
npm run build

(or npm run watch to watch the source files for changes)

Build the docs:

cd ../wagtail/docs
make html

Switch to Python 2.7:

source ~/.virtualenvs/wagtailpy2/bin/activate

And back to Python 3:

source ~/.virtualenvs/wagtaildemo/bin/activate

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.