This tutorial is for volunteers interested in the Covid Counties project. We explain how to run the website locally so that you can make changes to it. By far the easiest way to start working on this project is to download it using Docker. Docker has quickly become one of the most popular ways to share code, because it makes it easy to run any code on any computer instantly!
You can quickly run our Covid Counties code on any Linux/Mac/Windows laptop using docker. You can install docker here. I also recommend watching a docker tutorial and installation video on youtube.
Once you have docker, open your computer terminal and run the following code to download the Covid Counties project:
docker pull pupster90/covid_tracker
Run this line of code to start the Jupyter wetai environment in your browser:
docker run -d -e PASSWORD=covidcounties --user root --name covid -p 80:8787 -p 8888:8888 pupster90/covid_tracker /init
Then open an internet browser (chrome, safari,...) and go to the url localhost . You will now be asked to sign into Rstudio. To sign in use:
username: rstudio
password: covidcounties
You have now launched Rstudio with everything you need to run Covid Counties already installed! To run Covid Counties click the "Run App" button. The website will most likely instantly pop up. If it doesn't you can find the site at localhost:8888. The app.R file contains the vast majority of the code for the site. We recommend you look there first to start learning and changing the code.
After you have made changes you can either branch our Github repo or file a merge request. However it's probably easier to simply contact us about the changes you made so we can patch them into the site. Good luck coding and thank you for your contributions!
Content type
Image
Digest
Size
1.6 GB
Last updated
about 6 years ago
docker pull pupster90/covid_tracker