-
-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document how to use "test_project" for manual testing #120
Comments
Yes, the You're right: how to actually develop against this is something that should be covered in the contributing docs. I do it by having another Django project that I'm working on, then in that project's virtual environment I switch to the |
That said, I think tour suggestion to make changes to |
Ok cool! Er, would you also accept PRs that add Docker Compose setups (e.g. a |
Closed by e82f8a6 |
While working on #118, I wanted to run a Django project with the dashboard manually so I could make sure that everything looked and worked as expected.
The solution I landed on is a bit circuitous but it seemed to get the job done. First I created a
test_project/config/settings_manual.py
file with the following content:Then I made a file called
.env
that set some environment variables:Then I could manually test out any changes by running
source .env
and then usingmanage.py
to create a superuser, run the dev server, and so forth.With a few more permanent changes to the
test_project
folder in the codebase though, I think that it might be possible to support this better as a development use-case. But at the same time, I also understand that thetest_project
folder may never have been intended to actually be used manually... in any case, if you think this is a valid use of the test project, I could try submitting a PR and/or documentation that makes it a bit easier.The text was updated successfully, but these errors were encountered: