The source for the Scottish Ruby User Group site, run with Jekyll on Github Pages.
Note that the Ruby version is pinned to 2.7.3 This is due to a Github Pages dependency on Jenkyll 3.9.0.
To run the site locally you should:
- Clone the repository
- Run
bundle install
- Run
bundle exec jekyll serve
Your local version of the site is now running on port 4000 and can be viewed on http://localhost:4000
.
At the moment, all articles are listed in reverse chronological order in the homepage.
Before editing the website content, you need to install all the project dependencies.
To create a new article, open the terminal and run:
ruby gen.rb
The script will ask you for the article title and generate a new markdown file for it under the _posts
folder named. To write the content of the article, open the new file from your favourite editor and type it below the frontmatter section.
You can also create the articles manually. Any changes will show by refreshing the browser window.
To get involved or find out more about the Scottish Ruby User Group checkout any of the links below:
Last but not least, we have a Code of Conduct! Please keep it in mind and respect everyone in the community.