Skip to content

Free open source web tool for navigating data of solar observatories

License

Notifications You must be signed in to change notification settings

acien101/Archive-Viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

83 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archive Viewer

Home screen picture

Archive Viewer is a open source web tool for navigate the data of solar observations. And easily you can migrate it for other study cases.

Archive Viewer it's a was originally a web tool to navigate the data obtained in CESAR project. It's developed in PHP with mySQL, to filter and display the pictures obtained with the telescopes.

Getting Started

Prerequisites

Archive Viewer is built with Docker. In order to start the web application, you must have installed:

Installing

To start Cosmos Archive just type in the root directory of the project:

$ docker-compose up -d

Then, it will deploy:

  • On port 80: The Webserver application.
  • On port 8080: PHPmyadmin connected to the database.
  • On port 3306: MySQL database.

Then we have to import the sample_database.sql to MySQL. It can be done by accessing to PHPmyadmin on the port 8080, or by running the following command:

$ docker exec -i archive-db bash -c 'mysql -u root sample_database --password=tiger < /home/sample_database.sql'

Built With

Authors

  • Fran Acién - Initial work - Github

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

How it works

Observations are uploaded here. When a observation is made, the pipeline insert into the database the information to be displayed on the Archive Viewer. See sample_database to see the structure followed.

The whole project is configured by Docker in the Dockerfile on ./bin.

Npm modules are installed when the container starts, saved on /var/www/node_modules inside the Docker machine. With Apache, modules are redirected on localhost/dep/. See index.php for more information.

Debug mode

You can turn on debug mode to display the queries from the database. It can be turned on by changing the constant DEBUG on ./www/lib/conf.php to true.

About

Free open source web tool for navigating data of solar observatories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages