Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/afiskon/erl-min-prj
Minimal Erlang project template and example of packing this project into deb package
https://github.com/afiskon/erl-min-prj
deb erlang linux packages
Last synced: 2 months ago
JSON representation
Minimal Erlang project template and example of packing this project into deb package
- Host: GitHub
- URL: https://github.com/afiskon/erl-min-prj
- Owner: afiskon
- License: bsd-3-clause
- Created: 2014-03-08T12:19:23.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2018-01-08T16:11:41.000Z (about 7 years ago)
- Last Synced: 2023-03-28T00:41:17.191Z (almost 2 years ago)
- Topics: deb, erlang, linux, packages
- Language: Shell
- Homepage: https://eax.me/erlang-deb-package/
- Size: 270 KB
- Stars: 15
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Erlang Minimal Project
======================Minimal Erlang project and example of packing this project into deb package.
```
sudo apt-get install ruby ruby-dev
sudo gem install fpm
make deb
```Also using this template you can create your own Erlang service:
```
git checkout ...
cd mynewservice
wget https://raw.github.com/afiskon/erl-min-prj/master/scripts/new-erl-srv
chmod u+x new-erl-srv
./new-erl-srv mynewservice "My New Service" https://eax.me/
rm new-erl-srv
git add .
git commit -am 'Initial Commit'
git push origin HEAD
git tag 0.1.0 # tags are used as deb package version
git push origin 0.1.0
make run # run service, for debug purposes
make deb # create deb package
```For more details see https://eax.me/erlang-deb-package/ and https://redd.it/204ajd