GW Cloud module template
Creating a new module:-
- Clone the repo and rename it to your new module name
- In the
react
directory:- Change the
name
field inpackage.json
- Change the webpack
devServer
port inwebpack.config.js
- Change the
- In the root Django project:
- Rename the root project
gw_template
to something meaningful. - Rename the real Django app
template
to your module name. - Update the
DJANGO_SETTINGS_MODULE
indevelopment-manage.py
to match your root project name. - Update
TemplateApp
in your project moduleapp.py
- Update the
INSTALLED_APPS
to match the new project module name. - Update
ROOT_URLCONF
andWSGI_APPLICATION
in the root projectbase.py
- Update the
GRAPHENE -> SCHEMA
setting in the root projectbase.py
- ???
- Rename the root project