030e9fa3051389704a8a6a7f37ed3618634d0a64
First, check if the requested controller is public. If it is, we do not care if the user is logged in, so don't even make the "logged in"-checks at this moment.
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 29database.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:
- CodeIgniter by Ellislab, http://codeigniter.com
- jQuery, http://jquery.com/
- jsc3d, http://code.google.com/p/jsc3d/
- Fugue Icons, http://p.yusukekamiyamane.com/
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/
Languages
PHP
94.9%
JavaScript
3.4%
CSS
1.3%
HTML
0.4%