项目作者: zecollokaris

项目描述 :
This is an installation README for easy setup of installations
高级语言:
项目地址: git://github.com/zecollokaris/Installation.git
创建时间: 2018-09-10T06:49:57Z
项目社区:https://github.com/zecollokaris/Installation

开源协议:MIT License

下载


DESCRIPTION

This is an easy guide for installation


NODE INSTALLATION

Node is a server-side runtime environment for Javascript. It allows us to run Javascript code on the terminal.

For Node.js 9:

  1. curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
  2. sudo apt-get install -y nodejs

NPM

To compile and install native addons from npm you may also need to install build tools:

  1. sudo apt-get install -y build-essential

To install Node on MAC SYSTEMS follow the Instructions from this

  1. http://blog.teamtreehouse.com/install-node-js-npm-mac

Update Npm

I would be useful to update npm to avoid this error when deploying.

Name of your token (example: NGH Macbook): (node:8245) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.

  • To update use
  1. sudo npm i -g npm

Confirm Installation

  1. npm -v 5.5.1
  1. node -v v9.2.0

We run npm -v to check the version of Node Package Manager Installed. And node -v to check if Node is installed.

You should have node version higher than 9+ and npm 5+

To Install using Node Version Manager Which is preferable as it is always up-to date:

I will also help with installation of git and other packages.

Use this link =>

  1. https://github.com/creationix/nvm

ANGULAR INSTALLATION

Angular is a platform that makes it easy to build applications with the web.

We will install Angular CLI (Command Line Interface) that will help us create and develop our Angular apps

1. Installation

  1. npm install -g @angular/cli

This command will install the Angular CLI.

1. Confirmation

  1. ng

This will bring up a screen to show all the available ng commands.


WATCHMAN INSTALLATION

Watchman exists to watch files and record when they change. It can also trigger actions (such as rebuilding assets) when matching files change.

Linux Installation

  1. cd ~
  1. git clone https://github.com/facebook/watchman.git
  1. cd watchman/
  1. git checkout v4.7.0
  1. sudo apt-get install -y autoconf automake build-essential python-dev
  1. ./autogen.sh
  1. ./configure
  1. make
  1. sudo make install
  1. watchman --version
  1. echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_watches && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_queued_events && echo 999999 | sudo tee -a /proc/sys/fs/inotify/max_user_instances && watchman shutdown-server

Mac Installation

  1. brew update
  1. brew install watchman

ES6 And TypeScript INSTALLATION

TypeScript is a superset of ES6. Since most browsers do not support TypeScript we have to convert it to normal Javascript. The Process of converting TypeScript to normal ES5 is called transpilation.

1. Installation

  1. npm install -g typescript

1. Confirmation

  1. tsc -v

JAVA INSTALLATION

To get started, we need to install the Java development kit (Java SDK) that allows us to create Java applications and the Java Runtime Environment (JRE) which provides the requirements for executing a Java application.

Installing Java on Ubuntu

Follow the instructions highlighted on

  1. https://www.wikihow.com/Install-Oracle-Java-on-Ubuntu-Linux

ANDROID GRADLE

Linux Install.

Install Gradle Terminal Command

    1. sudo add-apt-repository ppa:cwchien/gradle
    1. sudo apt-get update
    1. sudo apt upgrade gradle