[go: up one dir, main page]

Skip to content

PySQMWeb is a simple Ruby/Sinatra (web) application to display image and data files that generated by PySQM

License

Notifications You must be signed in to change notification settings

andisugandi/pysqmweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PySQMWeb

PySQMWeb is a simple Ruby/Sinatra (web) application to display image and data files generated by PySQM. This web app is built with awesome idea of two projects: web-intro-project and tutsplus-build-an-image-gallery-in-ruby.

Getting Started

  1. Let's suppose your working directory right now is your user home directory, so clone the repository:

     $ cd
     $ git clone https://github.com/andisugandi/pysqmweb.git
    
  2. Change working directory to pysqmweb:

     $ cd pysqmweb
    
  3. Make public/pictures and public/data directory:

     $ mkdir public/pictures
     $ mkdir public/data
    
  4. If your SQM image and data files generated by PySQM are in $HOME/PySQM/data/daily_plots/ and $HOME/PySQM/data/daily_data/ respectively, then make symbolic link to $HOME/pysqmweb/public/pictures/ and $HOME/pysqmweb/public/data/ respectively:

     $ ln -s $HOME/PySQM/data/daily_plots/* $HOME/pysqmweb/public/pictures/
     $ ln -s $HOME/PySQM/data/daily_data/* $HOME/pysqmweb/public/data/
    
  5. Install Ruby Gems dependencies and start the web server:

     $ bundle install
     $ bundle exec rackup
    
  6. Using a browser, go to http://localhost:9292 and you'll see the application running.

Demo

Web Apps of Galeri Data SQM

About

PySQMWeb is a simple Ruby/Sinatra (web) application to display image and data files that generated by PySQM

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published