GithubHelp home page GithubHelp logo

isabella232 / ethereum-hackathon-setup-checker Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nomicfoundation/ethereum-hackathon-setup-checker

0.0 0.0 0.0 19 KB

This project lets you check if your development environment is ready for an Ethereum hackaton

License: MIT License

JavaScript 100.00%

ethereum-hackathon-setup-checker's Introduction

Ethereum Hackathon Development Environment Checker

This project lets you check if your development environment is ready for an Ethereum hackathon.

This project and its instructions are specific to Node.js-based Ethereum development. If you are in doubt about using Node.js in the hackathon, we recommend you follow them anyway, as most Ethereum libraries and tools use Node.

How do you use it?

To make sure your development environment is ready, you need to copy and paste these commands in a terminal.

git clone https://github.com/nomiclabs/ethereum-hackathon-setup-checker.git
cd ethereum-hackathon-setup-checker
npm install

If any of them failed, your environment is not ready and you need to follow the instructions from the next section.

If they went well, you should see a confirmation message, and your development environment is ready for the hackathon.

Setting up your development environment

This section has instructions for setting up your environment in a clean installation of your operating system. Feel free to skip any step if you think they aren't necessary.

Linux

Ubuntu

This guide uses the official Node.js PPA, so we can choose the version of Node.js we want.

Copy and paste these commands in a terminal:

sudo apt update
sudo apt install curl git
sudo apt install build-essential # We need this to build native dependencies
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install nodejs

MacOS

Before following this guide, make sure you have git installed. Otherwise, follow these instructions.

There are multiple ways of installing Node.js in MacOs, this guide uses Node Version Manager (nvm).

Copy and paste these commands in a terminal:

curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.35.2/install.sh | bash
nvm install 10
nvm use 10
nvm alias default 10
npm install npm --global # Upgrade npm to the latest version
npm install -g node-gyp # Make sure we have node-gyp installed

# This next setp is needed to build native dependencies.
# A popup will appear and you have to proceed with an installation.
# It will take some time, and may download a few GB of data.
xcode-select --install

Windows

This guide requires some manual installations. Please follow them.

  1. If you don't have git installed, please download and install it.
  2. Install Node.js 10.x by going to its download page, downloading node-v10.XX.XX-x64.msi, and running it.
  3. Open your terminal as Administrator and run the following command: npm install --global --production windows-build-tools. It will take several minutes and may download a few GB of data.

Upgrading your version of Node.js

If your version of Node.js is too old, this project will let you know during its installation. If this happens, follow these instructions.

Linux

Ubuntu

  1. Remove nodejs with sudo apt remove nodejs.
  2. Go to the NodeSource's Node.js Binary Distributions, and install their PPA for the version of Node.js that you are looking for.
  3. Run sudo apt update && sudo apt install nodejs

MacOS

If you followed our recommended installation steps, you can change your Node.js version using nvm.

For example, this is how you'd upgrade to Node.js 12.x:

nvm install 12
nvm use 12
nvm alias default 12
npm install npm --global # Upgrade npm to the latest version
npm install -g node-gyp # Make sure we have node-gyp installed

Windows

You need to follow the same installation instructions but choosing another version of Node.js from its website.

ethereum-hackathon-setup-checker's People

Contributors

alcuadrado avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.