jerome-toole / skindeep

1 stars 0 forks source link

Process for deploying new source #3

Closed briggySmalls closed 7 years ago

briggySmalls commented 7 years ago

I have just deployed the small changes required to make the custom author/illustrator fields (see branch iss1. I used Sublime SFTP to save the updated files individually, as there were minimal changes. This felt somewhat clumsy? I'm sure I can get Sublime SFTP to save a batch of files simultaneously, but it still makes me feel funny to deploy files without any sort of tracking? How is it that you deploy? I find myself wanting the server to have cloned this Git repo and then changes can be pulled. Furthermore any changes on the fly can be immediately identified and easily committed? Can you install Git on one.com? If Vincent Driessen's branching model was used for example, the server could have master checked out, while improvements could be developed on develop, and specific features built on other branches? As always, really not intending to rock the boat/try to be clever/think I know best. I'm new to this and just wondered what you think/what your apprach was?

briggySmalls commented 7 years ago

@jerome-toole, I am happy to try install git etc if you agree and haven't done so already! I currently don't have the SSH password (different to FTP).

jerome-toole commented 7 years ago

Yes, it's a drag and really not very functional. The problem is that one.com hosting is pretty basic and is 'shared' meaning we don't get to configure the server ourselves. I think that means that the server probably won't be able to install git. I don't even know if it has ssh login enabled. Could you check?

I use Digital Ocean on my projects so can provision the whole server from scratch.

On Sun, Dec 4, 2016 at 5:18 PM, briggySmalls notifications@github.com wrote:

@jerome-toole https://github.com/jerome-toole, I am happy to try install git etc if you agree and haven't done so already! I currently don't have the SSH password (different to FTP).

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jerome-toole/skindeep/issues/3#issuecomment-264716889, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRZO3JzwLXy-NyTq-aBRkZ7vsxJEwSyks5rEvYAgaJpZM4LDoww .

-- 07963714722 @ http://twitter.com/jamronejamrone design.jerometoole.co.uk

briggySmalls commented 7 years ago

Yeah. If I try to login with SSH I get presented with:

Welcome to the One.com SFTP service.

This service offers encrypted SFTP access for you to upload and manage the files
in your web space. Access to this service can be established with most FTP
client software, which also support the SFTP protocol.

Interactive shell access to this environment is not included in your
subscription plan with One.com, and therefore this service is limited to the use
of SFTP for your domain.

Interactive shell access offers an environment for you to interact with the
files in your web space, using many typical Unix tools. This allows you to do
remote file editing, to use version control system, and also features a few
script interpreters for you to automate complex maintenance tasks.

To upgrade your subscription plan, please login to your Control Panel:

    https://login.one.com/cp/

So that's scuppered! I can't see how you upgrade to get the interactive shell in the control panel, so can't see how much it is. Even if we could there's no guarantee we would have access to the tools (gcc) to install Git. Oh well!

jerome-toole commented 7 years ago

This should work. Do development on a development branch and then link one of these services with master - https://deploybot.com/ https://ftploy.com/

p.s I don't think one.com offer ssh access.

briggySmalls commented 7 years ago

Ah thanks! This looks great. deploybot is a paid subscription, so I will try ftploy.com soon.

briggySmalls commented 7 years ago

I have set up an FTPloy project and got it to successfully perform an initial deploy. Unfortunately I cannot get it to trigger on commit, and it seems buggy. I have started looking at deployhq.com, which seems much slicker (someone on StackOverflow said they moved to it from FTPloy and never looked back) Unfortunately it seems because I am not the repo admin/owner I can't create a deployment key for the project. Could you either make me admin or I can send you a key to add to the repo and send me the SSH URL?

briggySmalls commented 7 years ago

Or set me your email and I can add you to the deployhq project and you can do it all with a click of a button!

jerome-toole commented 7 years ago

jerometoole@gmail.com

I can't find anywhere to add you as admin on here!

On Fri, Feb 3, 2017 at 8:00 AM, briggySmalls notifications@github.com wrote:

Or set me your email and I can add you to the deployhq project and you can do it all with a click of a button!

β€” You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jerome-toole/skindeep/issues/3#issuecomment-277186810, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRZOz1vL462O_HAKKep0n2DAEUzizzaks5rYt6kgaJpZM4LDoww .

-- 07963714722 @ http://twitter.com/jamronejamrone design.jerometoole.co.uk

briggySmalls commented 7 years ago

Ah mybad. It seems thats just for organisations. Github user accounts only have author and collaborator roles. I've added you to the delployhq project. I think all it should take is to go to: Settings -> General Settings Click the Add them now text after "You haven’t added your repository settings yet." You can then follow the instructions for adding a deploy key

Making a new project on deployhq is easier. You say create. Link to Github. Select from a list of your repos and it does all the key stuff automatically. You might prefer to do that then add me as a user to that new project. IDK...

jerome-toole commented 7 years ago

Ok, I think this is set up!

briggySmalls commented 7 years ago

Amazing, thanks!

briggySmalls commented 7 years ago

Right so I just deployed from deployhq...It felt fantastic πŸ˜„ I've set it up to deploy skindeep/catch-base-pro into wp-content/themes/skindeep

I think that it won't detect commits until these steps have been carried out (Post-receive hook URL added to Github webhooks), unless you've already done it? I can't get to those settings so could you do that when you get a chance.

It's going to be so dreamy :drooling_face:

jerome-toole commented 7 years ago

Will have a look. It's going to be glorious πŸ˜‚ On Thu, 23 Feb 2017 at 23:31, briggySmalls notifications@github.com wrote:

Right so I just deployed from deployhq...It felt fantastic πŸ˜„ I've set it up to deploy skindeep/catch-base-pro into wp-content/themes/skindeep

I think that it won't detect commits until these steps https://support.deployhq.com/articles/deployments/how-do-i-start-an-automatic-deployment-from-github have been carried out (Post-receive hook URL https://briggssmalls.deployhq.com/projects/skin-deep/servers/8ed3c841-9e0c-b5e3-89d4-a71d3692b40f/edit added to Github webhooks), unless you've already done it? I can't get to those settings so could you do that when you get a chance.

It's going to be so dreamy 🀀

β€” You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/jerome-toole/skindeep/issues/3#issuecomment-282156222, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRZOx4iIGUN1CvTXaKUFxYlGHXCdAuFks5rfhbngaJpZM4LDoww .

jerome-toole commented 7 years ago

Ok, this is set up. Care to take her for a spin?

On Thu, 23 Feb 2017 at 23:39 Jerome Toole jerometoole@gmail.com wrote:

Will have a look. It's going to be glorious πŸ˜‚ On Thu, 23 Feb 2017 at 23:31, briggySmalls notifications@github.com wrote:

Right so I just deployed from deployhq...It felt fantastic πŸ˜„ I've set it up to deploy skindeep/catch-base-pro into wp-content/themes/skindeep

I think that it won't detect commits until these steps https://support.deployhq.com/articles/deployments/how-do-i-start-an-automatic-deployment-from-github have been carried out (Post-receive hook URL https://briggssmalls.deployhq.com/projects/skin-deep/servers/8ed3c841-9e0c-b5e3-89d4-a71d3692b40f/edit added to Github webhooks), unless you've already done it? I can't get to those settings so could you do that when you get a chance.

It's going to be so dreamy 🀀

β€” You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/jerome-toole/skindeep/issues/3#issuecomment-282156222, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRZOx4iIGUN1CvTXaKUFxYlGHXCdAuFks5rfhbngaJpZM4LDoww .

briggySmalls commented 7 years ago

It worked! Oh my. So nice...

jerome-toole commented 7 years ago

SUCCESS!

On Fri, 24 Feb 2017 at 08:59 briggySmalls notifications@github.com wrote:

Closed #3 https://github.com/jerome-toole/skindeep/issues/3.

β€” You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/jerome-toole/skindeep/issues/3#event-975717385, or mute the thread https://github.com/notifications/unsubscribe-auth/AFRZO8hkIXlvbH5LHJakpLU6Ey-Phz_3ks5rfpvcgaJpZM4LDoww .