Installation - etemu/satar GitHub Wiki
Note: This is an example for an installation on a Debian based Linux distribution. Some steps might require root privileges, consider using sudo
wherever you need to. I do prefer to use a root account when installing new software.
First of all, you need git and an Apache2 webserver, MySQL and PHP for the back end server:
apt-get install git lamp-server^
For the server web ui front end we need some more software, as it is written in Ruby with various libraries:
apt-get install ruby-dev gem redis-server libmysqlclient-dev make g++
gem install sinatra redis thin mysql dm-core dm-redis-adapter dm-migrations
After downloading and installing all those packages, navigate to your public html directory, by Apache's default config on a Debian based Linux distribution, that would be /var/www:
cd /var/www
Fetch the current source code from the git repository:
git clone http://github.com/etemu/satar
Setup your database connection, edit server/config/config.php
and ui/config/config.yml
according to your needs. Create the database and import the necessary database structure from server/satar.sql
. (todo: paste the mysql shell code and give config examples)
Your Satar server is now ready to serve:
Start the ruby web user interface with ruby /var/www/satar/ui/server.erb