2011-12-04 17:50:50 +01:00
2011-12-04 17:50:50 +01:00
2011-12-04 17:03:30 +01:00
2011-12-04 14:24:27 +01:00
2011-09-08 18:25:14 +02:00
2011-09-02 04:37:16 +02:00
2011-09-13 19:18:27 +02:00
2011-12-04 17:03:30 +01:00
2011-09-13 19:15:50 +02:00

ScattPort - Webinterface for light scattering simulators

Setup

First, get a clone of the current release:

$ git clone https://github.com/krstn/scattport.git
$ cd scattport

Now, create the database schema. There is a sample .sql file included for use with MySQL:

$ mysqladmin -uroot create $DATABASE
$ mysql -uroot $DATABASE < mysql_schema.sql

Replace $DATABASE with whatever suits your needs.

There are two configurations files included that you need to modify:

  • config.php - changes required in line 17 and 29
  • database.php - lines 44 to 48 need to be adjusted to suit your environment

Copy the samples and edit them accordingly:

$ cp application/config/config.sample.php application/config/config.php
$ cp application/config/database.sample.php application/config/database.php
$ vim application/config/config.php
$ vim application/config/database.php

It is important to copy these files rather than moving them. If you move them, updates (git pull) would get nasty.

The file application/config/scattport.php contains some settings for the different simulators you want to integrate. The file is fully documented, so you should be fine.

License

This application is published under the MIT License. See COPYING.

This application uses the following third-party software:

Description
Developed as a project for the physics department of a german university. The goal is to have a web-based platform where you can create jobs that will be executed by backend servers. The scientists can upload different types of jobs for different kinds of light scattering simulations.
https://scattport.org/
Readme 5.1 MiB
Languages
PHP 94.9%
JavaScript 3.4%
CSS 1.3%
HTML 0.4%