GithubHelp home page GithubHelp logo

isabella232 / install-dgraph Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dgraph-io/install-dgraph

0.0 0.0 0.0 104 KB

Dgraph installation scripts

Home Page: https://get.dgraph.io

License: Apache License 2.0

Shell 40.67% PowerShell 42.24% TypeScript 17.09%

install-dgraph's Introduction

Dgraph Install Scripts

This repository is home to the installation scripts that you find at https://get.dgraph.io and others.

Works for:

  • ✅ Ubuntu 16.04 and above
  • ✅ macOS Sierra and above
  • ✅ Windows 10 and above
  • ✅ Windows Server 2016 above

Install Dgraph on Linux and macOS

Using Shell

From https://get.dgraph.io

Download latest:

curl https://get.dgraph.io -sSf | bash

Download latest and install as Systemd services (just Linux):

curl https://get.dgraph.io -sSf | bash -s -- --systemd

With Environment Variables:

curl https://get.dgraph.io -sSf | VERSION=v20.03.1-beta1 bash

Flags

Add -s -- before the flags.

-y | --accept-license: Automatically agree to the terms of the Dgraph Community License (default: “n”).

-s | --systemd: Automatically create Dgraph’s installation as Systemd services (default: “n”).

-v | --version: Choose Dgraph’s version manually (default: The latest stable release, you can do tag combinations e.g v20.03.1-beta1 or -rc1).

Environment Variables

ACCEPT_LICENSE: Automatically agree to the terms of the Dgraph Community License (default: “n”).

INSTALL_IN_SYSTEMD: Automatically create Dgraph’s installation as Systemd services (default: “n”).

VERSION: Choose Dgraph’s version manually (default: The latest stable release).

Install Dgraph on Windows

Using Powershell

This script needs to be executed with ExecutionPolicy set as RemoteSigned" please run (as Administrator):"

Set-ExecutionPolicy -ExecutionPolicy "RemoteSigned"

After run the script you can set it to -ExecutionPolicy "Undefined"

From https://get.dgraph.io/windows

Download latest:

iwr https://get.dgraph.io/windows -useb | iex

With Environment Variables:

$Version="v20.03.1"; $acceptLicense="yes"; iwr http://get.dgraph.io/windows -useb | iex

Download the script and run locally

iwr http://get.dgraph.io/windows -useb -outf install.ps1; .\install.ps1

Run locally with flags

iwr http://get.dgraph.io/windows -useb -outf install.ps1; .\install.ps1 -version v20.03.1 -acceptLicense yes

Flags

-acceptLicense: Automatically agree to the terms of the Dgraph Community License (default: ask).

-version: Choose Dgraph’s version manually (default: The latest stable release, you can do tag combinations e.g v20.03.1-beta1 or -rc1).

Environment Variables

$Version="v20.03.1": Choose Dgraph’s version manually (default: The latest stable release).

$acceptLicense="yes": Choose Dgraph’s version manually (default: The latest stable release, you can do tag combinations e.g v2.0.0-beta1 or -rc1).

Compatibility

This Scrip works on Windows 10, some Windows containers and Windows Server 2016 only.

install-dgraph's People

Contributors

micheldiz avatar danielmai avatar voxadam avatar ashwin95r avatar codyrobert avatar dmonay avatar gpahal avatar manishrjain avatar martinmr 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.