Setup Local Assets - theRAPTLab/gsgo GitHub Wiki

Projects and sprites are not stored in the main gsgo repo.

They are stored separately in art-assets.

These instructions explain how to use the art-assets assets in GEMSTEP.

  1. Create a local asset server:
    1. Create a gs_assets folder at the root level of your gsgo repo -- you should have a folder at gsgo/gs_assets. (Skip this if you've already created it).
    2. If you don't have it already, clone a local art-assets repo: https://gitlab.com/stepsys/gem-step/art-assets somewhere else on your hard disk.
    3. In the art-assets repo, switch to the branch with the assets you want to use, e.g. git fetch&&git checkout asset-server
    4. Copy the art-assets folder to gsgo/gs_assets. So you should end up with gsgo/gs_assets/art-assets folder. Inside that should be a sprites folder with about 80 items (.json and .png files). e.g.:
    gsgo/gs_assets/art-assets/
    gsgo/gs_assets/art-assets/projects
    gsgo/gs_assets/art-assets/sprites
    
  2. Run npm ci
  3. Run npm run bootstrap
  4. Run npm start
  5. Go to http://localhost/app/main?project=decomposition -- The project should load with all art assets.
  6. On a separate computer, load a Viewer or CharController and make sure you can see the art assets.

See also !159

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