commit | a58488f3d0db190526eb810adaac89ef76cd98a2 | [log] [tgz] |
---|---|---|
author | Marcus Christie <machristie@apache.org> | Thu Jun 03 10:06:20 2021 -0400 |
committer | Marcus Christie <machristie@apache.org> | Thu Jun 03 10:06:20 2021 -0400 |
tree | 9a4cf3519ae3dcbc59125651eed16add8278f33a | |
parent | d9cd404bd4e8a4bab464d4a3f28e96f974aadeb5 [diff] |
adding setting import
Install the latest Cookiecutter if you haven't installed it yet:
pip install --user -U cookiecutter
This cookiecutter assumes that you are running it inside the root directory of a custom Airavata Django app. If you don't yet have a custom Airavata Django app, there is a cookiecutter you can use to create one: https://github.com/machristie/cookiecutter-airavata-django-app.
Once you have your custom Airavata Django app, go into the root directory and run this cookiecutter there. For example, if you created an Airavata Django app with the name test_django_app
, then change to that directory (this is the directory that contains the setup.cfg
file)
cd path/to/test_django_app
Then run the following:
cookiecutter https://github.com/machristie/cookiecutter-airavata-django-output-view.git -f
-f
is needed because output_views/
directory should already exist.
When prompted for the name of the custom_django_app_module_name
, give it the name of your Airavata Django app. Keeping with the example, you would supply test_django_app
.