Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Erlang Web App 2017 04 18
The first day of a greenfield project requires that you do a bunch of housekeeping. Here's an outline of what I did on the first day of this project:
Every project needs a home, and GitHub is that place. I originally created the project in my user organization but have since moved it to an organization I created for the end-user. Note that GitHub helpfully implements redirects when you transfer repositories between organizations.
I am very familiar with Travis CI, having used it as the CI provider for several Riak client libraries (like this). I decided to try out one of the new kids on the block, CircleCI, and set up the continuous integration builds here. The entire configuration for this build is found in this file. So far, CircleCI is working well and appears to be as good a solution as Travis CI.
My former co-worker, Shane Utt, provided a
rebar3 template that will build out a bare-bones skeleton project using Cowboy and Erlydtl. I used this to bootstrap my project, and in the process made some changes to the template that I then provided back in this PR. We'll see if Shane likes them.
To keep things simple and learn some "new" technology, I'm implementing this project's storage using Mnesia, the built-in KV store for Erlang. I figure, why not use the simplest thing for this project? Also, Mnesia has been around forever and appears to be plenty robust for this project's requirements.
You can check out my commits from the first day. Not a lot accomplished as I familiarized myself again with Common Test and learned me some Mnesia from scratch. Going forward I may implement features on a per-branch basis rather than just pushing to