Installation Guide for Easy R IDEr - SIU-CS/Red_Dusk-Production GitHub Wiki
Hello there fellow R-IDEr!
Lets get working on setting up your sweet new R-IDE
Prerequisite and Requirements:
Here at Red Dusk Productions we value your OS of choice, however for ease of development we require a Linux flavor of your choosing. This project however, is system agnostic however, and any client with access to a browser will be able to interface with the product.
We suggest Ubuntu, but feel free to change this to your liking
Necessary Technology:
Our Easy R-IDEr leverages a few different technologies that you will require for a proper development and testing environment.
First, you will need to download and install the Netbeans IDE or a similar IDE that can combine our Java program and necessary technologies
Second, download and install MySql onto your Linux machine. After this you will need to initialize the database and add in the tables. The schema necessary to do so are provided in the Installation Files directory in our project.
Next, download and install the program Docker. There are helpful guides that are provided here: https://docs.docker.com/install/linux/docker-ce/ubuntu/#uninstall-docker-ce
and follow the instructions for post installation here: https://docs.docker.com/install/linux/linux-postinstall/
After installing docker, pull the image rocker-dev-san. The docker images DockerHub page can be used to get you more acquainted with the container and is suggested to view it. The DockerHub page is located here: https://hub.docker.com/r/rocker/
The container needs to be slightly modified and you will need to modify the containers working directory to /usr/local/src/myscripts This is not a terribly difficult thing to do and will help with practicing with docker as well.
Finally, install Apache Tomcat Server to your computer! Unpackage and place Tomcat wherever you see fit or is convenient.
Opening the Project for Developing
Start with opening NetBeans up. Close out of any welcome message and open the project from the repository on your computer. It should be noted that the project repo currently needs to be placed inside of the bin directory. This can be changed later by editing two occurrences in the code that depend on this. Please keep this line user agnostic for your fellow workers.
Next, simply add Apache Tomcat into the services tab and ensure that your Docker daemon is running. If all your ducks are in a row, you should be done and ready for your first R-IDE!