Code Monkey home page Code Monkey logo

coding-to-music_gamedb's Introduction

Global Steam

Processes

Global Steam is split into processes. They are found in the ./cmd folder. To run a process, you can use the helper script:

./run frontend, ./run backend etc

You will need to run npm install to install dependencies first.

Environment

All configs are handled through environment variables, you can find a list of them all in config.go. You should get warnings if you run a process without a required config set.

Services

Global Steam uses several third party apps to run. You can install these with Brew:

brew tap mongodb/brew

brew install rabbitmq memcached [email protected] influxdb mysql elasticsearch

Or with Docker:

version: '3.7'

services:
  rabbit:
    container_name: rabbit
    hostname: rabbit
    image: rabbitmq:latest
    ports:
      - "5672:5672"
    restart: "unless-stopped"
    volumes:
      - ${DATA_DIR}/rabbitmq:/var/lib/rabbitmq
  memcache:
    container_name: memcache
    hostname: memcache
    image: memcached:latest
    restart: "unless-stopped"
    ports:
      - "11211:11211"
  mongo:
    container_name: mongo
    hostname: mongo
    image: mongo:4.2
    restart: "unless-stopped"
    ports:
      - "27017:27017"
    volumes:
      - ${DATA_DIR}/mongodb:/data/db
  influx:
    container_name: influx
    hostname: influx
    image: influxdb:1.7
    restart: "unless-stopped"
    ports:
      - "8086:8086"
    volumes:
      - ${DATA_DIR}/influxdb/data:/root/.influxdb/data
      - ${DATA_DIR}/influxdb/wal:/root/.influxdb/wal
      - ${DATA_DIR}/influxdb/meta:/root/.influxdb/meta
  mysql:
    container_name: mysql
    hostname: mysql
    image: mysql:8.0
    ports:
      - "3306:3306"
    restart: "unless-stopped"
    environment:
      - MYSQL_DATABASE
      - MYSQL_ROOT_PASSWORD
    volumes:
      - ${DATA_DIR}/mysql:/var/lib/mysql
  search:
    container_name: search
    hostname: search
    image: elasticsearch:7.6.2
    ports:
      - "9200:9200"
    restart: "unless-stopped"
    environment:
      - ELASTIC_PASSWORD
    volumes:
      - ${DATA_DIR}/elasticsearch/:/usr/share/elasticsearch/data/

Updating Assets

After updating .sass or .js files you need to compile them by running npm run webpack

coding-to-music_gamedb's People

Contributors

jleagle avatar renovate-bot avatar dependabot[bot] avatar dependabot-preview[bot] 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.