Shapeshifter icon indicating copy to clipboard operation
Shapeshifter copied to clipboard

Migrate website

Open itniels opened this issue 6 years ago • 15 comments

We need to migrate the site to a new home, so we can get it up and running again :)

itniels avatar Sep 21 '18 16:09 itniels

@ffMathy Will you point shapeshifter.app => 195.201.216.170 :)

itniels avatar Sep 21 '18 16:09 itniels

Yeah sure! Give me a minute.

ffMathy avatar Sep 21 '18 18:09 ffMathy

Oh, and thanks for helping out!

ffMathy avatar Sep 21 '18 18:09 ffMathy

Changes have been applied - might need some time to propagate.

ffMathy avatar Sep 21 '18 18:09 ffMathy

@ffMathy Thank you :) I will keep an eye on it ;) And your very welcome it's my pleasure my friend :)

itniels avatar Sep 21 '18 18:09 itniels

Site is up! Might need tweaks or something, i will go through it! And i will submit a PR with the code i had to change to get it running on my linux box behind Nginx as reverse proxy with Let's Encrypt SSL :)

itniels avatar Sep 21 '18 18:09 itniels

Cool!!! Wow!

ffMathy avatar Sep 21 '18 18:09 ffMathy

FYI this was not deployed using AppVeyor, so no "secrets" were replaced in secrets.json. I will look into how we can maybe setup AppVeyor to deploy to my linux box. :)

itniels avatar Sep 21 '18 21:09 itniels

I signed up for AppVeyor to give it a look-see. is there any way to give access to that specific project so i can play around with it and see if i can get the website deploy working?

Otherwise i will create a project and test separately maybe :)

itniels avatar Sep 21 '18 22:09 itniels

Yeah sure! What is your AppVeyor user email? I'll give you rights to the project.

Deployment is currently done via Microsoft Web Deploy. So if you install that somehow, it should work. Not sure how that works via Linux though, but you should be able to deploy via (for instance) FTP or something.

ffMathy avatar Sep 22 '18 10:09 ffMathy

It's [email protected] (linked with github). And yeah, web deploy is an MS thing ;) so will have to be FTP. Need to see if it does SFTP with keyfiles, othwerwise i will setup an FTP server for it. 👍

itniels avatar Sep 22 '18 10:09 itniels

You should have rights now :+1:

ffMathy avatar Sep 22 '18 11:09 ffMathy

Cool thanks :) I have been reading on the docs.. and it does support FTP for linux and everything.. but there is no way to restart the service it is running under on successful deploy :-/ So there will still be a manual step of restarting the service after AppVeyor deploys!

For the website it matters not that much, as that is fairly static! But for other projects that kinda sucks.. i might ask them if they plan to support a Linux AppVeyor service. That would be really cool!

itniels avatar Sep 22 '18 11:09 itniels

This is where Octopus deploy will come in handy. If you install it on your server and perhaps host is there, we can very easily deploy and restart the service as needed!

ffMathy avatar Sep 22 '18 13:09 ffMathy

Gotcha :) I will have a look at Octopus :)

itniels avatar Sep 22 '18 13:09 itniels