This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// bootstrap/react.php | |
// Remember, we need to do first: composer require react/react! | |
$app = include('app.php'); | |
$host = 'localhost'; | |
$port = 9000; | |
$reactApp = function (\React\Http\Request $request, \React\Http\Response $response) use ($app, $host, $port) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# install required packages | |
# | |
apt-get install apache2 git-core gitweb | |
# | |
# create folder to host the repositories | |
# |