Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adhearsion 3 documentation update #35

Open
wants to merge 4 commits into
base: master
from
Open

Adhearsion 3 documentation update #35

wants to merge 4 commits into from

Conversation

@benlangfeld
Copy link
Member

benlangfeld commented Jun 15, 2015

No description provided.

@benlangfeld benlangfeld force-pushed the feature/ahn-3 branch from 5239cdc to 8fdb135 Jun 15, 2015

Once you have your package safely in a repository, you can then install it on your system using your operating system's standard package management, in much the same way as you would install other software such as Apache or MySQL.

Once installed, a pkgr-built Adhearsion application will install a command-line utility for managing your application. It will be named after the name of your app directory or source control repository (or you can manually specify a name in `.pkgr.yml`) and you can run it without any arguments to see using info.

This comment has been minimized.

Copy link
@bklang

bklang Jun 16, 2015

Member

I think this could be expanded a bit. An example would be nice, showing setting a config option, viewing the config option, and starting the app.


```ruby
AHN_PUNCHBLOCK_USERNAME=foobar
AHN_PUNCHBLOCK_PASSWORD=barfoo
```

You can optionally place this file elsewhere and specify its location using `--env`.
You can run your application in the foreground using `myapp run ahn`. Alternatively, you can daemonize your application by running `myapp scale ahn=1` and manipulate the service by running `service myapp start/stop/restart/status`; your operating system's standard service management (systemd, upstart or SysV init) will be used to manage the process, and your application's logs will be written to `/var/log/myapp`.

This comment has been minimized.

Copy link
@bklang

bklang Jun 16, 2015

Member

Can you elaborate how that happens? Is the init script handled by pkgr? Is any step required other than installing the package? Again, an example would be good.

## Prerequisites

* Ruby version
* No more FreeSWITCH

This comment has been minimized.

Copy link
@bklang

bklang Jun 16, 2015

Member

No more FreeSWITCH IES

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

2 participants
You can’t perform that action at this time.