Giter VIP home page Giter VIP logo

chs-mc-website's Introduction

CHS MC Website

This is the CHS MC website that can be found here mc.chs.se.

The source code for the old CHS MC website can be found here on github.

Development

Backend

cd frontend
npm install
npm run prod
cd ..

cd backend
npm install
npx nodemon index.js

Frontend

cd backend
npm install
node .

# In another terminal
cd frontend
npm install
npm run dev

Deployment

Using docker-compose:

version: '3'

services:
  chs-mc-website:
    image: ghcr.io/gudchalmers/chs-mc-website:main
    restart: unless-stopped
    ports:
      - "3000:3000"
    environment:
      PORT: 3000
      DB_USER: chs-mc-website
      DB_PASS: hunter2
      DB_NAME: mc_stats
      DB_HOST: mariadb
      MAIL_FROM: [email protected]
      MAIL_NAME: "Your Name"
      MAIL_HOST: smtp-relay.gmail.com
      MAIL_PORT: 465
      MAIL_USER: whatever
      MAIL_PASS: hunter2
      MAIL_SSL: true
    depends_on:
      - mariadb
  mariadb:
    image: mariadb:11
    volumes:
      - mariadb:/var/lib/mysql
    restart: unless-stopped
    environment:
      MYSQL_ROOT_PASSWORD: hunter2
      MYSQL_DATABASE: mc_stats
      MYSQL_USER: chs-mc-website
      MYSQL_PASSWORD: hunter2

Copy the latest version of the dynmap website files from the plugin folder to the dist/dynmap folder.

License

MIT

chs-mc-website's People

Contributors

c4illin avatar gorymoon avatar gud-chalmers avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar

chs-mc-website's Issues

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.