This is the source code a the Stock Monitoring Tool Shiny application. The application has been developed on an Ubuntu 16.04 operating system and the following requirements are meant for that platform
These dependencies can be installed using the usual sudo apt install command
- pandoc
- pandoc-citeproc
- libcurl4-openssl-dev
- libcairo2-dev
- libxt-dev
- libssl-dev
- libssl1.0.0
- libxml2
- libxml2-dev
- texlive-latex-base
- texlive-fonts-recommended
- texlive-formats-extra
- libv8-3.14.5
- libv8-dev
devtools must be installed in order to install some packages from GitHub
install.packages("devtools")
The following libraries have to be installed from GitHub
devtools::install_github('AnalytixWare/ShinySky')
devtools::install_github('daattali/shinyjs')
devtools::install_github('jyypma/nloptr')
The following libraries can be installed from CRAN
install.packages(c('shiny', 'rmarkdown', 'shinythemes', 'shinydashboard', 'RCurl', 'devtools', 'ggplot2', 'rfishbase', 'shinyBS', 'XML', 'futile.logger'), repos='https://cloud.r-project.org/')
A Dockerfile is provided and can be used to build up containers with the application.
To build and run the application issue the following commands
sudo docker build -t stock_monitoring_tool <Path of the Dockerfile>
sudo docker run -p 3839:3838 stock_monitoring_tool
And then point your browser to https://localhost:3839