Install dependencies.
npm install
Extract the compressed MTL and OBJ files.
npm run extract
Extract the compressed MTL and OBJ files for Windows OS.
npm run unzip
Start the dev server.
npm start
If you need to make changes to MTL/OBJ files and want to preserve them, run this to compress them. Only gzipped MTL/OBJ files are saved in the repo.
npm run compress
Bash supports multiple options for leaderboard storage. The default is in-browser localStorage
. A networked leaderboard is also supported, through sending leaderboard entries to a Parse server.
If you want a networked leaderboard, you must have a Parse instance up and running. Then, open src/config.js
and change PARSE_URL
to point to the URL of your parse server.
Finally, when you launch Bash, add &storage=parse
to the end.
Both localStorage
and Parse leaderboard support namespacing. In other words, you can give the leaderboard a name. This is especially useful if you need to maintain multiple leaderboards, for tournament rounds, timed events at conferences, etc. Switching between leaderboards is as easy as changing the namespace.
Then, when you launch Bash, add &name=NAMESPACE
to the end of Bash's URL. Note that you can change the word NAMESPACE
to be anything you want.
- Post a question in the repo issues
- Ask a question in real-time in our public Discord server
- Send a tweet to one of the twitter links below social
Join our public Discord server!
- Jared Sprague @caramelcode
- Michael Clayton @mwcz
- Command Line Heroes
- #CommandLinePod