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 installoryarn install,- Create your environment file
.envbased on.env.examplefile, - Setup database -
./node_modules/.bin/sequelize db:create&./node_modules/.bin/sequelize db:migrate, - Build client files with command
npm run devornpm run production.
- You are ready to go. Run server ✨
-
npm run hot: runswebpack-dev-serverwith 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_packagesandpackagesdirectory.
Before contibuting, please make sure your code is formatted along with JavaScript Standard Style or use eslint config included in the package.