Adhearsion 3 documentation update #35

Open
wants to merge 4 commits into
from

Conversation

Projects
None yet
2 participants
@benlangfeld
Member

benlangfeld commented Jun 15, 2015

No description provided.

+
+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.

@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.

@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.

@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.

@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.

@bklang

bklang Jun 16, 2015

Member

No more FreeSWITCH IES

@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