Giter VIP home page Giter VIP logo

artemis-web's Introduction

Open in Gitpod

ARTEMIS Web Application Installation

Install Packages

Install Docker

  1. Make sure that your Ubuntu package sources are up-to-date:
   sudo apt-get update
  1. (For rootless installation look below) If not already installed, follow the instructions here to install the latest version of the docker tool for managing containers, and here to install the docker-compose tool for supporting multi-container Docker applications.

    In production, we have used the following versions successfully:

   $ docker -v
   Docker version 18.09.0, build 4d60db4
   $ docker-compose -v
   docker-compose version 1.20.0, build ca8d3c6
  1. If you would like to run docker without using sudo, please create a docker group, if not existing:
   sudo groupadd docker

and then add the user to the docker group:

   sudo usermod -aG docker $USER

For more instructions and potential debugging on this please consult this webpage.

Download ARTEMIS Web App

  1. Install git for downloading ARTEMIS:
   sudo apt-get install git
  1. Download ARTEMIS from GitHub (if not already downloaded):
   git clone https://github.com/FORTH-ICS-INSPIRE/artemis-web
  1. The docker-compose utility is configured to pull the latest stable released images that are built remotely on docker cloud. Run the following:
cd artemis-web
docker-compose pull

to trigger this.

No further installation/building actions are required on your side at this point.

  1. Install Node.js and npm from Ubuntu repository (for newer versions you have to install from the NodeSource repository).
sudo apt update
sudo apt -y install curl dirmngr apt-transport-https lsb-release ca-certificates
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt -y install nodejs

node --version # must be 12 or newer
  1. Install required node modules by running:
cd artemis_web
yarn install

Running the ARTEMIS Web App in development mode

  1. To get the mongo db up and running, execute:
cd artemis-web
docker-compose up # add -d for detached state
  1. To get the app running, run the following:
MONGODB_HOST=localhost LDAP_HOST=localhost yarn start
  1. Open a browser and visit http://localhost:4200

Running the ARTEMIS Web App in production mode

  1. To get the app running, run the following:
docker-compose -f docker-compose.prod.yml up # add -d for detached state
  1. Open a browser and visit https://localhost

artemis-web's People

Contributors

curiouzk0d3r avatar dmavrommatis avatar slowr avatar tommywo avatar vkotronis 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.