An open API service indexing awesome lists of open source software.

https://github.com/scalingo/sample-elixir-plug

Sample application using Elixir and Plug
https://github.com/scalingo/sample-elixir-plug

elixir elixir-plug plug sample scalingo

Last synced: 6 months ago
JSON representation

Sample application using Elixir and Plug

Awesome Lists containing this project

README

          

# Sample Application with Elixir and Plug

## Running Locally

First, you need to have a working elixir environment:

https://elixir-lang.org/install.html

### Setup

```sh
mix deps.get
```

### Build

```sh
mix compile
```

### Execute
```sh
mix run --no-halt
```

## Deploying on Scalingo

Create an application on https://scalingo.com, then:

```
git remote add scalingo git@scalingo.com:.git
git push scalingo master
```

And that's it!

The application is running at this url: https://sample-elixir-plug.scalingo.io/

## Deploy in one click

[![Deploy to Scalingo](https://cdn.scalingo.com/deploy/button.svg)](https://my.scalingo.com/deploy)

## Links

https://elixir-lang.org
https://github.com/elixir-plug/plug