Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thbar/elixir-playground
A little repo to play around with elixir
https://github.com/thbar/elixir-playground
Last synced: 2 months ago
JSON representation
A little repo to play around with elixir
- Host: GitHub
- URL: https://github.com/thbar/elixir-playground
- Owner: thbar
- License: mit
- Created: 2015-06-10T08:59:12.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2022-09-20T21:24:40.000Z (over 2 years ago)
- Last Synced: 2024-05-01T22:41:33.001Z (8 months ago)
- Language: Elixir
- Size: 265 KB
- Stars: 17
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Spoiler ahead! In this repository's `koans/koans_test.exs`, I'm storing my own solutions to the exercises found in [Programming Elixir](https://pragprog.com/book/elixir12/programming-elixir-1-2).
[![Build Status](https://travis-ci.org/thbar/elixir-playground.svg?branch=master)](https://travis-ci.org/thbar/elixir-playground)
## Common tasks
```
# install dependencies
mix deps.get# clean dependencies
mix deps.clean --all# check code quality
mix dogma# run tests
elixir *_test.exs# launch interactive session with mix setup
iex -S mix# launch phoenix with iex session
iex -S mix phoenix.server# visually inspect applications from iex
:observer.start()# run one function
mix run -e "Issues.CLI.process(:help)"
```## Creating a minimalistic phoenix app
```
mix phoenix.new web_hello_world --no-brunch
mix deps.get
```(then truncate loads of stuff)
## Useful resources
* [Elixir CheatSheet](https://media.pragprog.com/titles/elixir/ElixirCheat.pdf)
* [Awesome Elixir](https://github.com/h4cc/awesome-elixir)