GithubHelp home page GithubHelp logo

staging.summit.haxe.org's Introduction

Haxe Summit Website Generator

Deploy

Building

  • You need Haxe and Haxelib.
  • Install the dependencies with haxelib install generate.hxml.
  • Generate the website using haxe generate.hxml.

The website is now available in the out/ folder, you can launch it with nekotools server -d out and access it at http://localhost:2000/.

Adding a new event

  • Create a folder eventId/ in data/.
  • Add the header's background image in data/eventId/images/background.jpg.
  • Edit data/current.txt to eventId if you wish to make the event the default one when accessing the root url.

Configuration

Create the file data/eventId/config.json with the following content:

  • address: The event's venue's address.
  • earlyBirdEndDate: The end date for the early bird tickets.
  • eventBriteId: The eventbrite event id.
  • dates: The event dates, month start-end.
  • mapUrl: Iframe url for the venu map.
  • price: Full ticket price, including the money symbol.
  • speakingLink: Link where to apply for a talk.
  • speakingOpen: Can people still apply for a talk.
  • stage: The current stage: "EarlyPlanning", "TicketsOpen", "TicketsClosed", "EventOngoing" or "EventConcluded".
  • town: The venue's town name.
  • year: The event year.
  • zone: The event zone, eg US, EU...

Index sections

Create the following files to add their content into the corresponding index section:

  • data/eventId/content/intro.md
  • data/eventId/content/speakup.md
  • data/eventId/content/travel.md

News

The news are stored in data/eventId/news.json, the empty file should be [].

To add an entry add at the beginning (the news need to be manually sorted anti-chronogically):

{
	"date": "the date when adding the entry",
	"title: "the link's text",
	"url": "Optional: the link's url"
}

Adding a speaker

Edit data/eventId/speakers.json and add an entry:

{
	"id": "The speaker's id used as url and when linking the talks",
	"image": "The speaker's photo filename",
	"name": "The speaker's name",
	"title": "The speaker's title",
	"bio": "Short description about the speaker"
}

If the file doesn't exist the starting content should be [].

Add the speaker's photo in data/eventId/images/speakers/$image.

Adding a talk

Add a file named id.md in data/eventId/talks.

The first part of the file contains the talk metadata:

speaker: The speaker's id
title: The talk's title
description: Short description about the talk
---

The rest of the file contains the full length description of the talk, in markdown format.

staging.summit.haxe.org's People

Contributors

ibilon avatar simn avatar markknol avatar andyli avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.