django-simple-deploy / django-simple-deploy/dsd-vps

:gear: Setting or hook to customize the project / home path

Open
#16 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
17
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Nice work on the project btw.

I wanted to try out dsd-vps on a few projects on my DO or Hetzner stack but I noticed the plugin was defaulting to files living in `/home/{server_username}` and even `/home/{dsd_config.server_username}/{dsd_config.local_project_name}`

Can the root / `home` path be more customizable so that we can integrate with existing projects more easily? I use and have clients that end up `/srv` or `/opt` and it'd be nice to be able to support that.

If that's out of scope and dsd-vps is only intended to deploy one project per server then that's fine/reasonable. Otherwise, making the default path be configurable would make it easier to integrate with existing projects.

- https://github.com/django-simple-deploy/dsd-vps/blob/main/dsd_vps/platform_deployer.py#L146
- https://github.com/django-simple-deploy/dsd-vps/blob/main/dsd_vps/platform_deployer.py#L209

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.