Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.73 KB

README.md

File metadata and controls

63 lines (46 loc) · 1.73 KB

ErlangCentral.org

This is the code for ErlangCentral.org website.

ErlangCentral.org runs on Zotonic, the Erlang web framework & CMS. The site is built with Ginger, a set of templates and styles for Zotonic created by Driebit.

Contributing

Contributions are very welcome! Please refer to CONTRIBUTING.md for more information.

Getting started

To get this site on your computer, you need take the following steps:

  1. Clone Ginger:

    $ git clone https://github.com/driebit/ginger.git
  2. Clone this repository into the sites/ directory:

    $ git clone https://github.com/ErlangCentral/website.git sites/erlangcentral
  3. Add the local hostname to your /etc/hosts:

    $ echo "127.0.0.1 erlangcentral.docker.test" | sudo tee -a /etc/hosts
  4. Make sure you’ve Docker installed, then start a Docker container that runs Zotonic:

    $ make up

Now wait until Zotonic has booted, and you should be able to view the website at http://erlangcentral.docker.test.

Frontend assets

  • Styling is done using Sass. To watch the assets, and rebuild them when they change, run:
    $ npm install
    $ npm start

Learning more

To learn more about Zotonic, the Erlang web framework & CMS, please visit the website and documentation.

The Ginger documentation is available at GitHub.