Git Product home page Git Product logo

unmw's Introduction

unmw

server-side scripts used to run VaST on NMW survey images

This is very much work in progress. You may reach me at kirx[at]kirx.net

draft installation instructions

  1. place the code in 'cgi-bin'
cd /var/www/scan.sai.msu.ru/cgi-bin
git clone https://github.com/kirxkirx/unmw.git
  1. create the data directory
mkdir /home/NMW_web_upload
  1. create a symlink (or use mount --bind if you Apache configuration does not allow symlinks) to the data directory
cd /var/www/scan.sai.msu.ru/cgi-bin/unmw
ln -s /home/NMW_web_upload uploads
  1. copy the content of 'move_to_htdocs' folder to your htdocs
cp -r move_to_htdocs /var/www/scan.sai.msu.ru/htdocs/unmw
  1. create a symlink (or use mount --bind) to the data directory in htdocs
cd /var/www/scan.sai.msu.ru/htdocs/unmw
ln -s /home/NMW_web_upload uploads
  1. go back to the cgi directory and set the data directory path and the URL exposing it in 'local_config.sh', see the example in 'local_config.sh_example'

  2. Add unmw/combine_reports.sh to cron for it to be run every few minutes. For example /etc/crontab may look like:

*/8     *       *       *       *       www-data        /dataX/cgi-bin/unmw/combine_reports.sh &> /dev/null

where www-data is the apache user, /dataX/cgi-bin/unmw/combine_reports.sh is the full path to combine_reports.sh (will be different for your system).

unmw's People

Contributors

detkov avatar kirxkirx avatar

Watchers

 avatar

Forkers

detkov

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.