Commit 55980418 authored by Michel Roelofs's avatar Michel Roelofs
Browse files

Update README files

parent ea7eb70e
......@@ -19,20 +19,5 @@ Directories
Building the software
=====================
Both console and controller require the common utilities. So build these before console and controller. console also uses libnova.
Example for building the software:
DT_CTRL=$PWD
cd $DT_CTRL/common/utils
make
cd $DT_CTRL/common/trace
make
cd $DT_CTRL/controller
make
cd $DT_CTRL/libnova-0.13.0
./configure
make # (No need to do make install, console directly takes the lib from this directory)
cd $DT_CTRL/console
make
Just run "make". To see more targets, run "make help". You may also run make in
the individual directories.
......@@ -5,12 +5,13 @@ Directories
winrotor-usb Winrotor-USB control block
htdocs Files for the web-based gui
Building
========
The console software contains utilities that do require libindi. Building on
Debian 7.0 with libindi (and its development package) is sufficient to build
the console software.
Debian 7.0 requires these packages: with libindi, libfftw3, libtool, gcc, make.
Programs
========
......
......@@ -16,9 +16,9 @@ Directories
Building
========
A Debian 6.0 installation with gcc, bison, flex installed is sufficient for
building the controller. For running, root permissions are required as it
selects the realtime scheduler.
A Debian 6.0 installation with make, libtool, gcc, bison, flex installed is
sufficient for building the controller. For running, root permissions are
required as it selects the realtime scheduler.
Programs
......@@ -32,4 +32,32 @@ Programs
trace_view Live view of a trace using gnuplot.
Installing locally
==================
A webserver is needed to present the console gui to the web browser. Configure
/etc/apache2/sites-enabled/000-default (or the default-ssl file) as followss,
where htdocs is located in /var/console/console/htdocs:
DocumentRoot /var/console/console/htdocs
<Directory "/var/console/console/htdocs">
AllowOverride None
AddHandler cgi-script .cgi
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
Running locally
===============
Start the controller:
cd controller; ./dt_ctrl dt_ctrl.ctrl
Start the console:
cd console/console/bin; ./start_console.sh
Make sure your webbrowser can handle sufficient tcp connections in parallel to
the webserver. For Firefox, set in about:config this:
network.http.max-connections-per-server=15
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment