Skip to content

Latest commit

 

History

History
57 lines (36 loc) · 2.13 KB

File metadata and controls

57 lines (36 loc) · 2.13 KB

AWS Mena Community Blog

This is the repository of the website beirut.awsmena.community. It is hosted directly from the repository as a GitHub Pages website.

Local Setup

To preview the website locally:

  1. Install Ruby and Bundler if you don't have them already.

  2. Install Jekyll and other dependencies from the GitHub Pages gem:

  3. Install Node.

Note: this page has been last updated on March 30, 2024, where Ruby version 3.3.0 and Bundler 2.5.7 were used. As such, the gem 'csv' and gem 'webrick' have been added to the Gemfile explicitly as they are no longer by default through the current Ruby version. As a rule of thumb during installations, take into consideration the dependencies and package versions.

$ npm start

Then, load http://localhost:4000/ in your browser.

Add an event

yarn create:post My Event Title
# or npm run create:post -- My Event Title
# or node cli/create-post.js My Event Title

This command will create a new markdown file in _posts/ named : YEAR-MONTH-DAY-title.md

Replace YEAR MONTH and DAY with the date of the event.

Add a new user group blog

  1. Fork this repo to a new one under aws-mena-community.
  2. Replace events in _data/old-events.yml with your previous events or delete the file.
  3. In _config.yml, replace city with your city and url with YOURCITY.awsmena.community
  4. Delete posts and add your own as needed
  5. Replace CNAME file with YOURCITY.awsmena.community

Contributions

Issues and PRs are welcome and appreciated.

Credits

This website was originally forked from martinbuberl/awscommunitynordics.

Big thanks to AWS Community Nordics.