New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Host using Github + Netlify #12

Closed
IsmailM opened this Issue Sep 12, 2017 · 5 comments

Comments

3 participants
@IsmailM
Member

IsmailM commented Sep 12, 2017

I would suggest that we use Netlify to host the Bionode website:

Pros:

  • one click (Let's Encrypt) SSL certificate (not currently possible on GitHub with a custom domain - a requested feature from over three years ago)
  • CDN - so faster
  • uses HTTP2
  • Continuous Deployment with Github - so rebuilds with each Git push
  • FREE!!!

CONS:

  • Only @bmpvieira can access Netlify admin panel - No team support on the free package (though not sure what they mean on their website by unlimited collaborators on the open source page...

Tutorial: https://www.netlify.com/blog/2016/09/29/a-step-by-step-guide-deploying-on-netlify/

Note - we might not even need Travis anymore to run the build command - it's possible to do this with netlify.

This is what happens when we run the website through the netlify site tester:

testmysite_io___netlify_speedtest

@thejmazz

This comment has been minimized.

Member

thejmazz commented Sep 12, 2017

This looks like it might be better than surge due to SSL (free surge only has "basic SSL" and no http -> https 301s). I'm happy with any website hosting option as long as it does not dramatically change code to be vendor specific.

@bmpvieira

This comment has been minimized.

Member

bmpvieira commented Sep 12, 2017

Thank @IsmailM for finding this! I've added this repo to Netlify and made you both admins. @IsmailM can you check why it's failing? Some issue with the Streaming scripts. Let me know if you need more permissions or me to click somewhere. Cheers.

@bmpvieira bmpvieira added this to In Progress in Bionode Project Board Sep 12, 2017

@IsmailM

This comment has been minimized.

Member

IsmailM commented Sep 12, 2017

Fixed it by changing branch to master (our building process isn't that simple ;) )...

Also:

  • we have cron jobs on Travis (to rebuild the list of users - see here) - don't think cron jobs are possible via netlify...

  • also the deploy script requires the latest version of jq (we had to manually install it with travis as default version was too old) - not sure how easy it is to do this on netlify...

So, we should continue to build via travis and then simply host the master branch... Netlify will automatically update on each git push - so should update after each travis cron job...

https://bionode.netlify.com/

@IsmailM

This comment has been minimized.

Member

IsmailM commented Sep 12, 2017

@IsmailM

This comment has been minimized.

Member

IsmailM commented Sep 12, 2017

Now using Netlify: https://www.bionode.io/

Will add a http:// to https:// redirection once #13 is merged...

@bmpvieira bmpvieira moved this from In Progress to Done in Bionode Project Board Sep 14, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment