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.
Contributions are very welcome! Please refer to CONTRIBUTING.md for more information.
To get this site on your computer, you need take the following steps:
-
Clone Ginger:
$ git clone https://github.com/driebit/ginger.git
-
Clone this repository into the
sites/
directory:$ git clone https://github.com/ErlangCentral/website.git sites/erlangcentral
-
Add the local hostname to your
/etc/hosts
:$ echo "127.0.0.1 erlangcentral.docker.test" | sudo tee -a /etc/hosts
-
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.
- Styling is done using Sass. To watch the assets, and
rebuild them when they change, run:
$ npm install $ npm start
To learn more about Zotonic, the Erlang web framework & CMS, please visit the website and documentation.
The Ginger documentation is available at GitHub.