Skip to content
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

Documentation Update And Manage.py To Ease Superuser creation #2643

Closed
anuragkumart16 opened this issue Dec 9, 2024 · 1 comment
Closed

Comments

@anuragkumart16
Copy link

Is your feature request related to a problem? Please describe.

After setting up the development server and headed towards creating superuser, I ran the following command

python manage.py runserver

I recieved :

Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?

Inorder to ease The process of Installation for First-time-contributers, following should be done:

  • The Documentation should be updated to tell about how to get in docker container and then create superuser.
  • The Message in manage.py should be updated to say that there is a need to get in docker container and then create a superuser.

Additional context
Add any other context or screenshots about the feature request here.

Image

anuragkumart16 added a commit to anuragkumart16/care that referenced this issue Dec 9, 2024
@anuragkumart16 anuragkumart16 changed the title Documentation Update And Documentation Update And Manage.py To Ease Superusercreation Dec 9, 2024
@anuragkumart16 anuragkumart16 changed the title Documentation Update And Manage.py To Ease Superusercreation Documentation Update And Manage.py To Ease Superuser creation Dec 9, 2024
@anuragkumart16 anuragkumart16 mentioned this issue Dec 9, 2024
4 tasks
@rithviknishad
Copy link
Member

The backend docs does contain information about loading dummy data which will create the super user for you.

To run any django commands, you'll have to enter into the docker container's shell and run the command.

You might have mixed up things by reading manual setup docs with docker based setups.

Django app in itself need not be aware of whether it is run using docker or not.

@rithviknishad rithviknishad closed this as not planned Won't fix, can't repro, duplicate, stale Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants