Los Santos Online is a GTA V Roleplay server based on RAGE Multiplayer. This repository contains source files of server gamemode.
- SQL Server, preferred MariaDB
- Node.js installed on machine
- Download or clone the repository,
- Extract the files to your RAGE-MP server-files folder,
- Using a command prompt window execute steps below:
- Switch into your server directory,
npm install
oryarn install
,- Create your environment file
.env
based on.env.example
file, - Setup database -
./node_modules/.bin/sequelize db:create
&./node_modules/.bin/sequelize db:migrate
, - Build client files with command
npm run dev
ornpm run production
.
- You are ready to go. Run server ✨
-
npm run hot
: runswebpack-dev-server
with hot reload. Openlocalhost:8080/dist/[view_name]/
to access it. -
npm run dev
: builds files todist/
directory for once with development mode. -
npm run prod
: clearsdist/
as wellsrc/
❗ directories & build files with minification. -
npm run start
: starts server and monitor all changes in files underclient_packages
andpackages
directory.
Before contibuting, please make sure your code is formatted along with JavaScript Standard Style or use eslint config included in the package.