DEADSOFTWARE

df2e56644233ee8ab1bb668538f95f158e5146d9
[bbcp.git] / examples / server / README
1 # This example demonstrates simple server based on console version of BlackBox.
3 # To run this example you need to build console version of BlackBox:
5 # 1. Go to the BlackBox folder
6 cd ../../BlackBox
8 # 2. Clean previous
9 ./clean
10 ./switch-target none
12 # 3. Switch to BlackBox Interp and compile
13 ./switch-target `uname -s` Interp
14 ./build
16 # 4. Go to the example folder and compile the example
17 cd ../examples/server
18 ../../BlackBox/run-BlackBox < buildExample
20 # 5. Stop any other server that using 80 ports (apache, nginx, ...)
21 # 6. Then you can start server using command:
23 sudo ./bbserver
25 # To check the work of the server open browsel and look the page http://localhost
27 # There are scripts ./start and ./stop for the deamon start and stop mode