Jump to content

PatrickSidinaps

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by PatrickSidinaps

    1. Install Ragemp server.
    2. Put all files in your project.
    3. Run npm i by cmd in main directory with "server.exe" excutable script.
    4. Server using MySQL as a database. So you have to import sql file in to your database. In database management make one like "ragerp". Import sql structure file (rpserver.sql) into it.
    5. Rename sMailer.js.example and sMysql.js.example to sMailer.js and sMysql.js in ./app/server/,then modify the settings.(More sMailer instructions see https://nodemailer.com/usage/)
    6. Modify files in app directory (if you need).
    7. Do npm run build by cmd in main directory (BESURE DO THIS every time after some improvements in 'app' directory). or npm run watch for watching for changes and autorebuild
    8. Start a server

     

    I did everything you mentioned before. Only Number 2 and Number 7 wasnt possible. I have a Zap-Hosting.com RageMP Server. My Files are on a ftp-Server. I use WinSCP to manage the files.

    I use Git CMD and log-in into my FTP. Afterwards I switch the directory to the main directory where the "server.exe" lies. Sadly when I type "npm i" or "npm run build" it doesnt work for me.... 

    Someone got an idea what I'm doing wrong?

×
×
  • Create New...