WebFaction
Community site: login faq

I'm trying to install my own copy of Slackin (https://github.com/rauchg/slackin).

I created a webapp for it and installed it using NPM. I'm able to run the slackin command and it seems to be running in the background. However, I don't have any files to point to, namely the page it create you with the invite form.

Did somebody install it here?

asked 22 Sep '16, 16:09

vallieres
133
accept rate: 0%


You need to create a "Custom app (listening on port)" application in our control panel. This will get you a port assignment for your slackin app.

After you create the app, go ahead and attach it to a website on whatever domain, like slackin.yourdomain.com.

Finally, run slackin with the -p and -h options to specify that it should run on localhost with the port assigned to your custom app, eg slackin -h localhost -p 12345.

Once you've done that, you should be able to access it via http:/ slackin.yourdomain.com.

Hope that helps!

permanent link

answered 22 Sep '16, 20:24

seanf
12.2k31836
accept rate: 37%

How can I make sure that it keeps on running? I got it to work but it needs to run forever.

nohup would work but if the server is restarted it will not restart. What do you propose I do?

Thanks!

(23 Sep '16, 12:47) vallieres

If you want to start a process upon the server's reboot, you can add a cron job using the @reboot directive.

You can also use a watchdog type of script.

(23 Sep '16, 14:05) iliasr ♦♦
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×102
×9
×1
×1

question asked: 22 Sep '16, 16:09

question was seen: 1,232 times

last updated: 23 Sep '16, 14:05

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM