8000 GitHub - yhidalgo/LaitsV3: Dragoon: a tutor for system dynamics modeling
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

yhidalgo/LaitsV3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dragoon documentation

The Dragoon website includes background information, access to the tutor system and a tutorial to get you started using Dragoon.

Documentation and design documents are available.

Dragoon Install

This document contains instructions for setting up a Dragoon server. These instructions are for the JavaScript version of Dragoon.

Database Setup

Create the database using the script create-database.sql. In the project root directory, create a file db_user_passsword containing three lines containing the username, password, and database name.

Install Libraries

In the root directory, enter make install to install the Javascript libraries.

Run on local server

This section describes how to set up Dragoon to run off the local server on OS X 10.8 (mountain lion).

sudo apachectl start
cd /Library/WebServer/Documents/
sudo ln -s <*path to Dragoon*>/www/ ./laits 
# try http://localhost/laits/ in your web browser
sudo nano /etc/apache2/httpd.conf  || uncomment php line
sudo apachectl restart
echo "<?php phpinfo(); ?>" > <*path to Dragoon*>/www/php-test.php 
# try http://localhost/laits/php-test.php on Browser
# PHP looks for the MySQL sock in the wrong place.
# Make a link so that PHP will find the sock file:
sudo mkdir /var/mysql
sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock

More information on starting php and Apache on OS X.

In order to give the apache server permisions to access the folder containing the dragoon librarys you must change the folder to a sharded folder and allow access to directory from the apache config

To change the folder to a sharded folder, simply right click (or control click) select get info, and then check the box that says "Shared folder"

Go into the config file

sudo nano /etc/apache2/httpd.conf

Find the default directory settings and change them so they look like the following

<Directory />
    Options +Indexes FollowSymLinks +ExecCGI
    AllowOverride AuthConfig FileInfo
    Order allow, deny
    Allow from all
</Directory>

Afterwards reset the server

sudo apachectl restart

Testing Dragoon

More information about testing and installation of testing can be found in the Readme in test folder

About

Dragoon: a tutor for system dynamics modeling

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0