Table of Contents

License

HipHop.js, Synchronous Multitier JavaScript Reactive Programming
   
Copyright (c) 2015-2019 INRIA
                                                                  
Bug descriptions, user reports, comments, suggestions and
pull requests are welcome. Send them to
   https://github.com/manuel-serrano/hiphop.git

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by 
the Free Software Foundation; either version 2 of the License, or 
(at your option) any later version. More precisely,
    
   The server, the compiler, and the tools are distributed under the 
   terms of the GNU General Public License.

This program is distributed in the hope that it will be useful,   
but WITHOUT ANY WARRANTY; without even the implied warranty of    
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the     
GNU General Public License for more details.                      
                                                                  
You should have received a copy of the GNU General Public         
License along with this program; if not, write to the Free        
Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,   
MA 02111-1307, USA.

Docker installation

The recommanded way to install and run Hop is to use Docker. The docker image is to be built in two steps.

  1. Build the Hop image following these instructions.
  2. Build the HipHop image by downloading the hop-0.3.0.dockerfile script and by issuing the following docker command: docker build -f hop-0.3.0.dockerfile -t hop .

Note: If you already have installed Hop or HipHop within docker, you might find useful to remove the old image first. This can be achieved with:

$ docker container prune
$ docker rmi `docker images | grep hop | awk '{print $3}'`

Running the image

Once the docker is built, the image can be executed using the hop.docker that can be found here. This is recommended on Linux and MacOS.

The docker image can also be executed directly. Let's consider that $HOME/myApp is a directory containing your Hop.js application, and the file main.js the entry point, implementing Hop.js service myService.

Source code installation

This is the file you should download if you want to get HipHop.js stable version from the sources.

Hiphop.js installation

Hiphop.js requires Bigloo and Hop.js to works.

Move the Hiphop.js directory inside the node path, for instance, $HOME/.node_modules/.

Git

Hop.js can be forked at

https://github.com/manuel-serrano/hiphop.git