4 ms·
I just tried running Chicago Boss. I followed the quick start guide that had a lot of steps and managed to get a 404 error. With Rails there are less steps: g
by laut 11y ago
I just tried running Chicago Boss. I followed the quick start guide that had a lot of steps and managed to get a 404 error.
With Rails there are less steps:
gem install rails && rails new path/to/your/new/application && cd path/to/your/new/application && rails server
and you just point your browser to http://localhost:3000 http://localhost:3000 and get a nice welcome page for your new skeleton app.
Chicago Boss could be improved in that respect.
- vezzy-fnord 11y agoThe reason for the 404 is because by default no action is bound to / in the proplists for the priv/<appname>.routes file. It tells you that quite succinctly. Explicitly heading to /greeting/hello works, as shown in the quickstart. Modifying the routes file is a good next step. Your complaint boils down to there not being a pretty "Welcome" page. That could be addressed, but it's hardly a major concern.
- laut 11y agoNo it is not how it looks it is that the documentation is lacking. The quick start didn't work for me. If it had been a simple page returning HTTP code 200 that just said OK, it would at least be something. Sure you can make it work if you invest more time in it, but the point is that there are other platforms that have taken care to make it easier. In general a lot of people seem to think that documentation is one of the biggest issues with Erlang.