Preparing a Server - tooltwist/documentation GitHub Wiki

  1. 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)
  1. Create a new user account, specific to this deployment, and with non-password SSH access.

  2. 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
  1. Add this line to ~/.bash_profile, then log off and back in again.

     . serverkit/tooltwist_rc
    
  2. 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.

  1. First install. Initially the server has no config files so cannot be run. Do a deployment using either the controller or tooltwist deploy.

  2. Install and Check the config files.

     $ serverkit/installExampleFiles.sh
     $ vi site-conf/conf/*