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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
A script to painlessly set up a Vagrant environment for development of Wagtail.
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
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