Skip to content

PyAmsterdam/py.amsterdam

Repository files navigation

PyAmsterdam

image

This is a website of PyAmsterdam powered by pelican.

How to create events

Events are pelican articles written in RST inside content directory.

To create an event:

  1. Create a meetup.com draft event
  2. copy the docs/event_template.rst into the content directory and edit accordingly
  3. Fill in the rsvp_url url from meetup.com draft event
  4. (optional step) build the site locally -> Local development
  5. Push/Merge the code and wait till the website is built and deployed
  6. Navigate to the https://py.amsterdam/<date of event>/<event_name>.html
  7. Get the TXT version for meetup.com
    1. Go to the event page, scroll down and click Plain text version
    2. Copy the content
    3. Go to your Draft event and paste
  8. Release the event on Meetup.com

All event updates should follow the same process and keep the sites in sync

  • metadata
    • Required article metadata:
      • :event_type: Meetup - one word event type which will show up in calendar grid (Meetup, Workshop, ...etc)
      • :date: YYYY-MM-DD - when the event is happening
    • Optional metadata
      • :rsvp_url: - url where attendees can RSVP - displayed in event detail page
      • :external_url: https://somewhere-else.com - if specified calendar will redirect to the external page directly

Local development

  1. pip install -r requirements.txt
  2. make html && make serve
  3. Navigate to http://localhost:8000

Deploy dev version:

At the moment dev version deployment is best to do to GH pages.

  1. pip install -r requirements.txt
  2. invoke gh-pages
  3. Navigate to: https://pyamsterdam.github.io/py.amsterdam