Skip to content

Latest commit

 

History

History
83 lines (67 loc) · 1.96 KB

File metadata and controls

83 lines (67 loc) · 1.96 KB

Setup for Ubuntu 18.04

  • Git
  • Install Docker
  • Install WebStorm
  • Install Node.js, npm and n
  • Setup WebStorm
  • Install DataGrip

Git

Clone MaSo repository

git clone https://github.com/Matematicka-Soutez/Web.git

Docker

Please check this link on how to install docker on your system.

Or if feeling lucky just try:

sudo snap install docker

Alternatives (don't use unless):

  • Official Docker CE installation guide (https://docs.docker.com/install/linux/docker-ce/ubuntu/#upgrade-docker-ce)
  • In-built package agent:
    sudo apt-get install docker
    If docker-compose not included:
    sudo apt-get install docker-compose
  • Download with curl + add docker-compose:
    sudo curl -sSL https://get.docker.com/ | sh
    sudo curl -L "https://github.com/docker/compose/releases/download/1.23.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
    sudo chmod +x /usr/local/bin/docker-compose

WebStorm

You can install Webstorm through Ubuntu Software app or download gzip from web (https://www.jetbrains.com/webstorm/download/download-thanks.html) and then follow installation guide.

Node.js, npm and n

Get Node.js:

sudo apt-get install node.js

Check if npm is included:

npm -v
  • If it's not, install it:
    sudo apt-get install npm

Then install n (version manager) using npm:

sudo npm -g i n

In package.json look up version of Node.js and change your version to that, npm version should change as well:

n [version_number]

Install libraries (Run in /MaSo directory!):

npm i

Setup WebStorm

Get from another team member .idea/ directory and add it into MaSo/ project

Install DataGrip

You can get DataGrip easily from Ubuntu Software