Preparing a Server - tooltwist/documentation GitHub Wiki
- Check the server is set up with the required prerequisites:
- Java RTE (minimum v1.7)
- Node (min 0.10)
- ImageMagick and Ruby 1.9+, if it is to run the Designer
- Any other software required by your application (e.g. database)
-
Create a new user account, specific to this deployment, and with non-password SSH access.
-
Install the basic directory structure:
The easiest way to do this is using ToolTwist's ServerKit.
$ git clone -b v8.3 https://github.com/tooltwist/serverkit.git
$ tar xvf serverkit/server-bare.tar
-
Add this line to ~/.bash_profile, then log off and back in again.
. serverkit/tooltwist_rc
-
Run the FIP server The FIP (File Installation Server) is used to receive and install files.
./fipserver -v 39393
ZZZ This should possibly be run as a system daemon.
ZZZ Set unique credentials for FIP.
-
First install. Initially the server has no config files so cannot be run. Do a deployment using either the controller or
tooltwist deploy
. -
Install and Check the config files.
$ serverkit/installExampleFiles.sh $ vi site-conf/conf/*