Coder Social home page Coder Social logo

nuttyshrimp / degrens Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 7.0 384.72 MB

A belgian FiveM RP server build on a custom framework

License: Other

Shell 0.02% Nix 0.02% Batchfile 0.01% JavaScript 2.16% TypeScript 74.42% Lua 18.46% HTML 1.62% Vue 1.25% Sass 0.01% SCSS 1.48% CSS 0.26% PowerShell 0.04% Python 0.26%

degrens's Introduction

DeGrens RP 2.0

Important

This repo is for archival reasons only hence why there is no issues tab

We also do not give support in any way, sliding in our dm's will result in a block

Dependencies

  • NodeJS
  • pnpm
  • MariaDB (We use mariaDB specific queries so a MySQL instance wil not work)
  • Graylog instance (optional)
  • Sentry instance (optional)

How to setup

go to /config folder and copy the -template.cfg files

  • mysql.cfg
    • change the convar string after "mysql_connection_string"
  • server.cfg
    • place your CFX token between the "'s after "sv_licenseKey"
    • get your Steam API key here and put it between the "'s after the "steam_webApiKey"

Next go to /packages/db`` and copy the .env.templateto.env` and set your database URL to get the DB migrations working

Now run pnpm install in the root of the repo

Following with going to /packages/db and running pnpm db:generate there

Now run pnpm build for a production build or pnpm build:dev for a development build in the root of the repo

Now you just gotta start the server via your favorite tool/script

Logs

We use graylog to store and query our logs.

All the magic that is happening for that is done in dg-logs and the endpoint is configured in configs/main.json under logServer for production logs and devLogServer for development logs

If a invalid URL is defined, a file will be created that stores all the logs

Where are the assets

Well in our original Code base those where stored in separete git submodules which contain private assets we bought or had an subscription on and aren't thus allowed to redistribute

degrens's People

Contributors

gallejens avatar nuttyshrimp avatar pieter557 avatar sjurdvrancken avatar synergieofficial avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.