https://github.com/cristianoliveira/cowboy-elixir
Simple web hello world using Cowboy + Elixir (Bonus Heroku)
https://github.com/cristianoliveira/cowboy-elixir
Last synced: 6 months ago
JSON representation
Simple web hello world using Cowboy + Elixir (Bonus Heroku)
- Host: GitHub
- URL: https://github.com/cristianoliveira/cowboy-elixir
- Owner: cristianoliveira
- License: mit
- Created: 2015-10-25T21:32:17.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2015-12-06T05:03:51.000Z (almost 10 years ago)
- Last Synced: 2025-03-29T17:51:12.508Z (6 months ago)
- Language: Elixir
- Homepage:
- Size: 5.86 KB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Elixir + Cowboy Hello World (Heroku)
Simple web hello world using Cowboy## Dependecies:
- **elixir**: v1.1.1
- **cowboy**: v1.0.0## Runing
```Elixir
mix deps.get && mix deps.compile && mix run --no-halt
```
Then access http://localhost:5000## Your elixir first deploy on Heroku
- First install Heroku cliInstructions here: https://devcenter.heroku.com/articles/heroku-command
- Prepare the environment
```bash
heroku create --buildpack "https://github.com/cristianoliveira/heroku-buildpack-elixir.git"
```
- Log into Heroku
```bash
heroku login
```
- Add Heroku as remoteThe app name you can get on dashboard.
```bash
heroku git:remote -a
```- Finally deploy
```bash
git push heroku master
```