PinkyThePig
Dabbler
- Joined
- Aug 23, 2013
- Messages
- 15
So I finally sat down today to figure out how to install a project from git. I chose sickbeard anime edition as there is no real other solution currently for pulling anime episodes (subbed). This can be expanded to other git projects with minor googling etc (provided that the project is actually able to run on freebsd systems).
PLEASE NOTE: I have not extensively tested this, currently the furthest I have gotten is accessing the web interface and clicked around a bit to make sure it is functioning. I have regular sickbeard running from the pbi that master gollum posted and so I assume this should work just fine.
The commands are as follows:
Make a 'portjail' With pretty much default everything from the GUI. give it an IP etc.
once it is running SSH into your box and run these commands:
The # sign in command 2 is the JID associated with your jail.
This will start sickbeard anime edition and it will by default be running on http://jailip:8081
NOTE: I have not tried installing in the same jail that contains another version of sickbeard, unless you are feeling brave and want to test, install this in its own jail
If you want to install other projects the only thing that needs to change is the clone URL and the dependencies that we install afterwards. Typically the documentation for a project will explain what packages are needed and to find the package it is typically as easy as googling "package add python freebsd" which would lead you to pkg_add -r python as the command you would need to run.
Once I have some more time I plan to figure out how to make it auto run on jail startup, maybe tomorrow.
PLEASE NOTE: I have not extensively tested this, currently the furthest I have gotten is accessing the web interface and clicked around a bit to make sure it is functioning. I have regular sickbeard running from the pbi that master gollum posted and so I assume this should work just fine.
The commands are as follows:
Make a 'portjail' With pretty much default everything from the GUI. give it an IP etc.
once it is running SSH into your box and run these commands:
Code:
jls jexec # csh pkg_add -r git git clone https://github.com/lad1337/Sick-Beard.git pkg_add -r py27-cheetah pkg_add -r python pkg_add -r py27-sqlite3 cd Sick-Beard python SickBeard.py -d
The # sign in command 2 is the JID associated with your jail.
This will start sickbeard anime edition and it will by default be running on http://jailip:8081
NOTE: I have not tried installing in the same jail that contains another version of sickbeard, unless you are feeling brave and want to test, install this in its own jail
If you want to install other projects the only thing that needs to change is the clone URL and the dependencies that we install afterwards. Typically the documentation for a project will explain what packages are needed and to find the package it is typically as easy as googling "package add python freebsd" which would lead you to pkg_add -r python as the command you would need to run.
Once I have some more time I plan to figure out how to make it auto run on jail startup, maybe tomorrow.