So I found out that erlang comes with its own make.
This lead me to the creation of a little more advanced context menu from the one I specified bellow.
It now looks like this:
The registry magic is getting a whole lot more ellaborate, so this time I will share the registry file instead of the steps.
Credit where credit is due, I got the steps from here.
Keep on going and let it fail.
Fábio Beirão - 25/Jan/2017
It really has not been easy this learning curve. Everywhere I look there is more and more to learn, and I just realize how little (or nothing) I actually know. That is good, but it takes a toll on you.
I have been trying to create a simple example application. An HTTP REST api to minify URLs. The goal is to learn & use mnesia, supervision, a way to create REST APIs in Erlang (cowboy?) and experience a little more with actually creating an Erlang application.
This has not been an easy journey, but having watched Erlang in practice has really helped me leap forward. I only wish there were more screencasts like those.
I am using this blog post as a reminder to myself of all the steps necessary to start an Erlang project from scratch (side note: as a professional C# developer I have a whole new appreciation for Visual Studio!).
(my development environment is Windows 10)
- If not installed, you will need to install MSYS2 and follow the steps in erlang.mk - Installing on Windows;
- Follow the steps in erlang.mk - Getting started;
- Using cowboy? Follow the stuff in here;
Fábio Beirão - 16/Aug/2016
A while ago I started looking into Erlang.
My mind was blown and still is, every day.
I am making an effort to learn Erlang. Not just the syntax, but the whole mindset that comes from designing software for the real (concurrent) world.
As a hardcore .NET C# developer, I am aware that this transition won't be the easiest. Yet, I firmly believe I will reap the benefits :)
This repo will work as my public scrapbook, so I can share my progress and keep track of some tricks.
ProTip: Do you want to add an entry to your context menu that will open the Erlang shell in the current directory?
Easy :) open regedit, navigate to HKEY_CLASSES_ROOT\Directory\Background\shell and add the following keys:
Erlang\Icon (REG_SZ) = "C:\Program Files\erl8.0\bin\werl.exe"
Erlang\command\(Default) (REG_SZ) = "C:\Program Files\erl8.0\bin\werl.exe"
It should look something like this:
Fábio Beirão - 06/Aug/2016