Skip to content

Setting up react for local development on Ubuntu

Eric Ackermann edited this page Dec 6, 2019 · 1 revision

Install latest node.js:

curl -sL https://deb.nodesource.com/setup_13.x | sudo bash
sudo apt-get install -y nodejs

Install yarn:

curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
     echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list && \
     apt-get update && apt-get install yarn

Install gems:

bundle install

Install node modules:

yarn install --check-files