DEADSOFTWARE

e4386a6df305d3aa2a44d0670c131911a1189e00
[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 ./switch-target none
10 ./clean
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 ln -s ../../BlackBox/_Linux_GUI/Gtk2 ./
19 ../../BlackBox/run-BlackBox < buildExample
21 # 5. Stop any other server that using 80 ports (apache, nginx, ...)
22 # 6. Then you can start server using command:
24 sudo ./bbserver
26 # To check the work of the server open browser and look the page http://localhost
28 # There are scripts ./start and ./stop for the daemon start and stop mode