charludo / ycms

Apache License 2.0
0 stars 0 forks source link

Add room & bed creation to the ward form #126

Closed SnehaR26 closed 7 months ago

SnehaR26 commented 8 months ago

Short description

Adds options for adding rooms and beds to a new ward.

Proposed changes

Side effects

Resolved issues

Fixes: #77

SnehaR26 commented 8 months ago

On an unrelated note , I am unable to push through git so I added the changes via github

image

charludo commented 8 months ago

On an unrelated note , I am unable to push through git so I added the changes via github

image

The error message gives you a pretty good hint, I think: authentication for things like pushing via https have been removed from github (for security reasons). Instead, you should be using ssh urls, i.e. instead of https://github.com/charludo/ycms.git you should be using git@github.com:charludo/ycms

You can probably switch by doing git remote set-url origin git@github.com:charludo/ycms

However, please be aware that you need to setup SSH authentication first. Githubs documentation has you covered: https://docs.github.com/en/authentication/connecting-to-github-with-ssh

charludo commented 8 months ago

So from what I am seeing, what you are trying to do is:

right?

Some things to consider:

If you wanted to give the user more choice, while also avoiding the name generation issue:

This still wouldn't allow setting the bed type, although it could pretty easily be extended to include that functionality.

SnehaR26 commented 8 months ago

The error message gives you a pretty good hint, I think: authentication for things like pushing via https have been removed from github (for security reasons). Instead, you should be using ssh urls, i.e. instead of https://github.com/charludo/ycms.git you should be using git@github.com:charludo/ycms

You can probably switch by doing git remote set-url origin git@github.com:charludo/ycms

However, please be aware that you need to setup SSH authentication first. Githubs documentation has you covered: https://docs.github.com/en/authentication/connecting-to-github-with-ssh

Thank you, I was able to set up a new key and it seems to work for now. For the room addition, yup I must consider all this. Let me try with your comments