Skip to content

berlinrs/berline.rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Berlin.rs

This is the rust-meetup-template-based website for http://berlin.rs.

Redeploy without changes

To update the current listed meetup without changes to any files:

git commit --allow-empty -m 'Re-deploy'
git push origin main

Creating the next Hack'n'Learn events

Hack'n'Learn events are sourced from https://www.meetup.com/rust-berlin/. To create the next 3 upcoming events run:

bundle exec scripts/next-hackandlearn.rb

Existing events won't be overwritten.

Importing from meetup.com

To import a new event from Meetup.com run the import script:

bundle exec scripts/import.rb URL

To install the required tooling, run:

bundle install --with=development

Local development

Sometimes you want to test or modify things locally. Luckily, this is pretty easy, you just have to do the following:

  • Clone or download the repository
  • Make sure you have Ruby 2.2.5 or above installed
  • Run bundle install in the directory where you cloned the project (if you don't have Bundler installed, install it using gem install bundler)
  • Run bundle exec jekyll serve to get a local preview of your site. It auto-updates every time you edit something
  • If you want LiveReload functionality, run bundle exec jekyll serve --livereload

Local development with a Docker container

If you don't have locally available the Ruby stack, you might want to use a Docker container.

Install Docker (if don't have already) following this guide.

You can run the website with this command (tested on Linux):

$ docker run --rm -p 8000:4000 \
    -v $(pwd):/site \
    bretfisher/jekyll-serve
# site available on: http://localhost:8000

An more compact option could be to install docker-compose and use the docker compose recipe with a simple:

$ docker-compose up