Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ch4s3/raining
https://github.com/ch4s3/raining
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ch4s3/raining
- Owner: Ch4s3
- Created: 2019-05-14T02:19:19.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-05-16T23:59:28.000Z (over 5 years ago)
- Last Synced: 2023-03-30T02:51:23.709Z (almost 2 years ago)
- Language: Elixir
- Size: 181 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Raining
[![CircleCI](https://circleci.com/gh/Ch4s3/raining/tree/master.svg?style=svg)](https://circleci.com/gh/Ch4s3/raining/tree/master)
To start your Phoenix server:
* Install dependencies with `mix deps.get`
* Create and migrate your database with `mix ecto.setup`
* Install Node.js dependencies with `cd assets && npm install`
* Start Phoenix endpoint with `mix phx.server`Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.
Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).
## Learn more
* Official website: http://www.phoenixframework.org/
* Guides: https://hexdocs.pm/phoenix/overview.html
* Docs: https://hexdocs.pm/phoenix
* Mailing list: http://groups.google.com/group/phoenix-talk
* Source: https://github.com/phoenixframework/phoenix## Pre-push hook
The following pre-push hook validates that the circle config is valid before anything is committed. It wouldn't make sense to push a broken ci config when a push to the remote triggers a ci run.
You will have to run `brew install circleci` first
```bash
#!/usr/bin/env bash# The following line is needed by the CircleCI Local Build Tool (due to Docker interactivity)
exec < /dev/tty# If validation fails, tell Git to stop and provide error message. Otherwise, continue.
if ! eMSG=$(circleci config validate -c .circleci/config.yml); then
echo "CircleCI Configuration Failed Validation."
echo $eMSG
exit 1
fi
```