wq.start: Project template and scaffolding tools
wq.start provides the recommended Django project template for projects utilizing the wq framework, with wq.app for the front end and wq.db as the backend component.
wq.start also provides commands for generating a default set of offline-capable list, detail, and edit templates. The templates can be generated for existing Django models (via
wq maketemplates), or both the models and the templates can be generated from an ODK-style XLSForm (via
pip3 install wq wq start <projectname> [directory] cd <projectname>/db wq addform ~/my-odk-form.xlsx
Se the Getting Started docs for more information.
- A default Apache2 WSGI configuration is included in
- All static files are kept in the
app/folder, with the idea that they will be built with a RequireJS-powered build process. This clean separation between the front end and backend components makes it easier to wrap the front end in PhoneGap for release on app stores.
- Because of this separation, the root of the Django project is in
db/rather than at the top level of the project.
db/is included on the Python path in the Apache config (and implicitly when running
- Mustache templates are kept at the top level, because they are shared between the client and the server.