/cx-voting

An election system for the QBCore framework

Primary LanguageSvelteGNU General Public License v3.0GPL-3.0

A better way to hold elections.

Dependencies

Installation

  • Download the ZIP file and extract it in your resources folder
  • Add ensure cx-voting to your server.cfg
  • Run the Voting.sql file
  • Configure (add/remove) your candidates in shared/config.lua

To build ( Only if you make changes to the web folder )

Prerequisites

Building

  • First, open cx-voting/web in a terminal of your choice
  • Now write these commands in your terminal:
    • npm i
    • npm run build