Git Product home page Git Product logo

csgo-map-veto's Introduction

CSGO Map Veto

Desktop and WEB application to do maps veto for the game Counter-Strike Global Offensive.

Preview

Installation

You can use the web version here or download the last desktop version here.

Database

Since the version 2.0.0, an optional database service (MySQL) is available to persist your vetos.

Assuming you have a working MySQL server, if you want to use it you have few steps to do:

  1. Download the binary file called backend for your OS from GitHub
  2. Create a file called .env next to the backend file and copy paste the content of .env.example into it
  3. Edit the .env file and adjust the values if necessary
  4. Create a database, by default the name is csgomapveto, you can change it from the .env file
  5. Execute the backend file, the database should be running now
  6. Launch the application, go to the settings and fill the API address field (example http://localhost:3080 by default)

Development

Application

  1. yarn
  2. yarn dev for WEB version, yarn dev:electron for the Electron version

Database

You have to install go to run the database during development.

  1. cp backend/.env.example backend/.env
  2. Edit the .env file and set DISABLE_CORS and DEBUG to true, you can also adjust the other options if you want
  3. yarn db to build and start the database

Production build

Application

To build the WEB version
yarn build:web

To build the desktop application for your current OS
yarn build:electron

To build the desktop application for all platforms (tested on MAC OS only)
yarn build:electron:all

Dist files are located in the dist folder for Electron build and in the out folder for the WEB build.

Database

yarn build:db

The binary file is located in backend/backend[.exe].

Tests

Unit / integration tests

yarn test

Or yarn tw to watch the tests.

E2E tests

yarn e2e (headless mode)
yarn e2e:debug (open Cypress to debug tests)

Coverage report

yarn test:coverage

License

GPL v2

csgo-map-veto's People

Contributors

akiver avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

csgo-map-veto's Issues

database

great job, next features is database it will better for offline lanparty where isn't internet just localhost. what do you think :)

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.