Giter VIP home page Giter VIP logo

data-sports-distribute-deploy's Introduction

Deploy data-sport distribute device.

English

System requirements

  • Operating system
    • Ubuntu 20.04
  • Hardware requirements
    • 2 vCPU
    • 8 GB RAM
    • 60 GB disk space (SSD recommended)

Before we start...

We should prepare the info we need to deploy the data-sport distribute device.

  • The IP address of the server (e.g. 61.67.2.30)
  • The account and password of the server (not root but have sudo permission) (e.g. sport-user)
  • Register account on https://www.data-sports.tw/#/SportData/Register, and login to change password

Installation

Step 1. Download deployment program and install docker and other system packages

  • Fetching the latest version of the deployment program
git clone https://github.com/iii-org/data-sports-distribute-deploy.git

Step 2. Run the deployment program

This step will take a few minutes to complete.

In this step, we will run the setup script, and automatically install distribute device. To run the script, make sure you are in the project root directory, and run the following command

cd ~/data-sports-distribute-deploy/ 
./setup.sh

If any error occurs, it will show the message starting with [ERROR] and exit the script. If the script runs successfully, it will show the message below

[INFO] You can visit http://<IP_ADDRESS> to login
[NOTICE] Script executed successfully

Then You can visit the http://<IP_ADDRESS> to check if the data-sport distribute device has been deployed successfully.

Upgrade

Run script/upgrade.sh to upgrade the data-sport distribute device.
The script will automatically pull the latest code from the repository and run the deployment program.

data-sports-distribute-deploy's People

Contributors

iv9614 avatar allen0099 avatar

Watchers

Jonathan Tsai avatar Joseph Huang 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.