Contributing
PR's are welcome. The repository comes with Vagrant machine instructions and Ansible provisioning to get a basic Wagtail build up and running.
Pre-requisites
Getting started
-
Build the machine
vagrant up
-
Create a superuser
./manage.sh createsuperuser
-
Run the site. It will be accessible at http://localhost:8019
./run.sh
-
Go to the admin and start building forms by creating child pages.
http://localhost:8019/admin
-
You can also run Mailcatcher to catch any emails the site sends if you want to test email functionality. Mailcatcher will be accessible at http://localhost:1080
./mailcatcher.sh
Working on the front end
-
Install packages
nvm use npm install
-
Run the watch task
npm run watch
-
Modify the JS and SASS source files in wagtail_advanced_form_builder/static_src/