Skip to content

dsmun-conf/website

Repository files navigation

DSMUN '19

The Doon School Model United Nations 2019 website.

Structure

We use eleventy, a static site generator. Eleventy is configured through .eleventy.js and .eleventyignore.

Most layouts and partials use pug. Most pages will use markdown.

Building

The following will build the site in dist/.

npm run build

Testing

We use npm to manage development dependencies (mainly linters).

Installing dependencies

Run the following in the project directory to install all dependencies.

npm install

Running tests locally

npm test

Deployment

We use now (version 2), a versatile serverless deployment service. Now settings are configured through now.json. Since this repository has now-Github integration installed, the site is deployed to production with each push to master. Additionally, all PRs are deployed to a link that is meant to be used for testing.

Contributing

Contributions are more than welcome. Please read through the contribution guidelines before opening a pull request.

License

Licensed under the MIT License.