Skip to content

Aleyasen/DarshanVis-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DarshanVis

Darshan (A Scalable HPC I/O Characterization Tool) Data Visualization Tool

Requirement

For Windows, you can install XAMPP (https://www.apachefriends.org/index.html) that includes all the above, for OS X install MAMP (https://www.mamp.info/en/).

Once you install MAMP/XAMPP, open it --> Preferences --> Ports --> Set Web & MySQL ports to 80 & 3306. If you use another port for Web (Apache Port & Nginx Port) then remember to put them in your link on localhost. For example: you set Apache Port & Nginx Port to 8080 then

Instead of using: http:https://localhost/DarshanVis/index.php/jobs/index?c=9

Your link should be: http:https://localhost:8080/DarshanVis/index.php/jobs/index?c=9

  • IDE: Anything to help you code. Our suggestion: NetBeans

Installation

Access data remotely

  • Edit DarshanVis/protected/config/server.production.php:
return array(
	// application components
	'components' => array(
		'db' => array(
			'connectionString' => 'mysql:host=palm.cs.illinois.edu;dbname=mira_final',
			'username' => 'huongluu',
			'password' => '******',  (we will send it to you)
		),
	),
);

Note: you will need to be inside UIUC network to connect to this database

Access data locally: I will send you a dump file that you can import to your local MySQL server. First, create a new database (for example called darshanvis_db). Then import the dump file to this new database.

  • Edit DarshanVis/protected/config/server.production.php:
return array(
	// application components
	'components' => array(
		'db' => array(
			'connectionString' => 'mysql:host=127.0.0.1;dbname=darshanvis_db',
			'username' => 'your MySQL username',
			'password' => 'your MySQL password',  
		),
	),
);

About

DarshanVis Restuful API Service

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages