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.
- Create a local asset server:
- Create a
gs_assets
folder at the root level of yourgsgo
repo -- you should have a folder atgsgo/gs_assets
. (Skip this if you've already created it). - 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. - In the
art-assets
repo, switch to the branch with the assets you want to use, e.g.git fetch&&git checkout asset-server
- Copy the
art-assets
folder togsgo/gs_assets
. So you should end up withgsgo/gs_assets/art-assets
folder. Inside that should be asprites
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
- Create a
- Run
npm ci
- Run
npm run bootstrap
- Run
npm start
- Go to
http://localhost/app/main?project=decomposition
-- The project should load with all art assets. - On a separate computer, load a Viewer or CharController and make sure you can see the art assets.
See also !159