Skip to content

Local development setup and reset depends upon Unix-specific shell commands #119

@Samya-Agg

Description

@Samya-Agg

Problem statement

The current 'MakeFile' uses unix-specific commands like-
reset-db:
rm -f db.sqlite3
python ./manage.py createcachetable
python ./manage.py migrate
python ./manage.py load_initial_data

  • Make is not present by default in Windows.
  • rm is a unix-specific command.

Proposed solution

The solution could include moving the actual setup and reset code to Django Management commands like-

  • python manage.py dev_setup
  • python manage.py dev_reset

And then updating MakeFile.

Alternative solutions

No response

Additional context

No response

Working on this

Contribute to the discussion to help this move forward. Explain your use cases, discuss possible solutions, research how to adapt existing code, or compatibility concerns.

Once others agree with the proposed changes, anyone can contribute to this. View our contributing guidelines. Add a comment to the issue to explain what approach you are taking.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CompatibilityFor issues that explicitly relate to compatibility with dependencies and other packagescomponent:Management CommandsDjango management commands, CLI tools, migrations, data import/exportenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions