Mario Munoz

Results 13 comments of Mario Munoz

Hi @sushilkjaiswar, Why would you need to have the `cpassword` field included in the model to begin with? Presuming that a user is sending you their `password` and `cpassword`, it...

First step, adding `django-simple-deploy` to my project... easy enough: ![image](https://user-images.githubusercontent.com/46942991/197030460-a08578f4-5d14-49cc-a555-e5aa83a12c01.png)

Make sure my project is running locally with no issue: ![image](https://user-images.githubusercontent.com/46942991/197030876-05bb858b-23ec-4356-96e0-c04e75111fff.png) huzzah...

The docs mention that I need the `platformshconfig` library, so I installed that as well: ![image](https://user-images.githubusercontent.com/46942991/197036361-643cb733-2cde-4844-a8cd-b78e487eaa36.png)

Don't forget to add `simple_deploy` to the `INSTALLED_APPS` in `settings.py` ![image](https://user-images.githubusercontent.com/46942991/197053640-c6e07d5e-5c18-4b7c-ad60-013eff9ad03b.png) Done...

Going to try the configuration-only deployment. First, need to create a platform app... Made sure I could log in with the platform CLI. Ran the platform command and was prompted...

So now I can run the command: ``` python manage.py simple_deploy --platform platform_sh ``` Let's see what happened.

Whoops. ![image](https://user-images.githubusercontent.com/46942991/197055443-f6652d76-99fd-4054-a8b0-bbe71729d0a3.png) Looks like I didn't activate my virtual environment.... 🤦‍♂️

Okay, after activating environment and running command, got this: ![image](https://user-images.githubusercontent.com/46942991/197055815-e180b48c-3313-4809-b6a6-0166ca180549.png) Hmm...

So going to commit my previous changes... These are related to adding django-simple-deploy and platformshconfig to my list of dependencies (`pyproject.toml`) and adding `simple_deploy` to my `INSTALLED_APPS`...