Giter Club home page Giter Club logo

economy-simulator's Introduction

Economy-Simulator

Source code of a Roblox revival which now has been shutdown

How to start the website?

This requires Linux or Windows + WSL. It might also work on Mac, but I haven't tried.

Postgresql (13+) and redis are required. If you're on windows, you will need to install WSL, and then install redis with WSL.

  1. Create a PG user, DB, and create a file called "config.json" in services/api. Put this in it (replacing the DB, User, and Pass with your credentials):

{ "knex": { "client": "pg", "connection": { "host": "127.0.0.1", "user": "postgres", "password": "postgres", "database": "db_name_here" } } }

  1. Install nodejs, go (lang), and dotnet 6. go into the services/api directory in a terminal, run "npm i", then run "npx knex migrate:latest".

  2. Go into the services/Roblox/Roblox.Website folder and rename "appsettings.example.json" to "appsettings.json". Put in your DB info and any other configurable things. Also make sure to edit the "Directories" stuff (change "/home/my_username/source-code/" to the exact path of the unzipped source code, i.e. the path this README file is in)

  3. Go into the "services/Roblox/Roblox.Website" folder in a terminal, and run "dotnet run". If everything is successful, you should be able to visit the site at "http://localhost:5000/".

  4. Start up the "admin" service by opening a new terminal, going into the "services/admin" folder, and running "npm i" then "npm run dev".

  5. Open "services/2016-roblox-main/docs/get-started.md" and follow the guide for setting up 2016-roblox (this is the frontend). You should change the "https://{0}.roblox.com{1}" api format to "http://localhost:5000/apisite/{0}{1}"

  6. Register an account, then copy your user id and replace the "12" in "OwnerUserId" (inside appsettings) with your user id. ctrl+c the "dotnet run" command to close it, then run it again to start the site back up. You should now be able to go to "http://localhost:5000/admin/" for admin stuff.

  7. In order to upload things, you will have to start up the "asset validation service". You can do this by going into "services/AssetValidationServiceV2" in a terminal and running "go run main.go".

Note that the "game-server" program will probably need a lot of edits to actually work as a game service and/or render service.

economy-simulator's People

Contributors

randomwood 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.