https://github.com/thdaraujo/elixir-deploy-test
https://github.com/thdaraujo/elixir-deploy-test
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/thdaraujo/elixir-deploy-test
- Owner: thdaraujo
- Created: 2018-03-16T04:48:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-21T00:19:28.000Z (about 7 years ago)
- Last Synced: 2025-03-15T01:52:52.236Z (about 1 month ago)
- Language: Elixir
- Size: 7.2 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Refuel
**TODO: Add description**
Project uses [distillery](https://github.com/bitwalker/distillery) to generate releases,
and docker to build the release. That way, the build server OS will always match
the production server.## How to build
Add permission:
`$ sudo chmod +x build.sh`Then run:
`$ ./build.sh`## How to run production container on docker
Add permission:
`$ sudo chmod +x run.sh`Then run:
`$ ./run.sh`Then open browser on [localhost:4000](localhost:4000).
## How to stop
Add permission:
`$ sudo chmod +x stop.sh `Then run:
`$ ./stop.sh `## How to connect to remote_console
`$ docker exec -it refuel-run /opt/app/bin/refuel remote_console`
## How to deploy (manually)
Add permission:
`$ sudo chmod +x deploy.sh`Then run:
`$ ./deploy.sh`Project will be deployed automatically by a CI.