* First pass of updating documentation for new users Trying to look at this from the perspective of someone new to the project, and create some pathways to make it easier for people to get to the content they are looking for. * Make it clear that docker is doing the setup * Link installation again from the main README * Add some docs about the github actions * Add markdown link check * Move git installation first * Add config for markdown link checker * Fix some links * Correct handling of repo root relative links * Fix broken links in data roadmap * Fix more broken links * Fix more links * Ignore link that's returning a 403 to the checker It actually works if you go in a browser. * Fix another broken link * Ignore more urls that don't work * Update the readme under docs * Add some more dataset links * More strongly call out the quickstart * Try to call out even more the quickstart link * Fix dead links * Add note about initialization time * Remove broken link from spanish install guide These will be updated later with a full translation
3.1 KiB
Justice40 Tool Installation
This page documents the installation steps for some of the software needed to work with this project.
NOTE: If you all you want to do is quickly run everything locally to try out the application, go straight to
QUICKSTART.md
.
After the generic installation steps on this page, continue on to one of the following, depending on what you are trying to do:
- If you are working with the frontend, see
client/README.md
. - If you are working with the data pipeline, see
data/data-pipeline/README.md
. - If you want to understand the current deployment process, see
.github/workflows/README.md
.
Install Git
MacOS
- Open the terminal and type
git
and hit RETURN. - If dev tools are not installed a window will prompt you to install dev tools.
- Open the terminal and type
git --version
and hit RETURN. - Validate that a version number is returned. If so, git is properly installed.
Win10
Download from website
Install Homebrew (MacOS only)
Homebrew is an easy way to manage software downloads on MacOS. You don't have to use it, but we recommend it.
- First, open your terminal and run
brew -v
to determine whether you have Homebrew installed. If you get a resopnse that looks something likeHomebrew 3.1.9
, you've already got it! If you get nothing back, or an error, continue. - Open the terminal and copy / paste this command and hit RETURN. Go through the prompts (you will need to grant
sudo
access).
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- Validate installation by typing
brew -v
in the terminal and ensure a version number is shown.
You should regularly run brew update
and brew doctor
to make sure your packages are up to date and in good condition.
IDE set up (Optional)
While any IDE can be used, we're outlining how to set up VS Code
- Open the terminal and type
brew install --cask visual-studio-code
and hit RETURN.- If this doesn't work or for Win10, you can download VS Code from the website.
- After forking this repo, you can clone your forked repo into VS Code
- VS Code with prompt you to "clone a repo"
- Open the terminal and navigate to
client
directory - Type
npm install
to load dependencies - Type
gatsby develop
to spin up the app - Navigate to
localhost:8000
to view the app
Recommended VS Code Extensions
Install Docker
Follow the Docker installation instructions for your platform.