1. Install Jekyll and bundler gems
gem install jekyll bundler
2. Create a new Jekyll site at ./myblog
jekyll new myblog
3. Change into your new directory
cd myblog
4. Create a new app via the Web Apps section of your hosting Control Panel and use these values:
Engine: Custom Name: Jekyll (or whatever you want) Subdomain: Your choice Port: System will assign this Memory: Default Deployment Directory: /private/jekyll/myblog Start Command: /home/myuser/private/.rvm/gems/ruby-2.5.3/wrappers/bundle exec jekyll serve
where myuser is your hosting account username.
5. Edit your myblog/_config.yml file to set:
baseurl: "/myblog" # the subpath of your site, e.g. /blog url: http://jekyll.mysite.com # the base hostname & protocol for your site, e.g. http://example.com
and add:
port: 111
where 111 is the port number assigned to your app in the previous step.
That’s it. Your webapp should now start and your blog should be accessible at:
http://jekyll.mysite.com/blog
No Comments yet!