Running SJ2 Locally - Decatur-Robotics/Common-Library-And-Wiki GitHub Wiki

Running SJ2 Locally

  • Before attempting this, make sure you’ve downloaded all prerequisites from the SJ2 GitHub!
  • Launch the local version of MongoDB (mongod) by following this guide:

How do I start Mongo DB from Windows?

  • Launch Redis by opening the redis-server file found wherever you downloaded Redis

    Untitled

  • Open the “Scout Janssen” directory in a terminal

    Untitled

  • Next, cd to “sj2”

    Untitled

  • Run “npm run dev”

    Untitled

  • Open a web browser and go to “http://localhost:<YOUR_PORT>”

    • For example, using the above screenshot I would go to “localhost:4026”
  • If you’re having issues with MongoDB timing out, go into the .env file and change the “localhost” part of MONGODB_URI to 127.0.0.1

⚠️ **GitHub.com Fallback** ⚠️