This repo houses a sample implementation of Spot for folks to fork and play with while atteding the ABA's 2021 Equal Justice Conference. To create your own copy and customize it for your needs, complete the following steps.
If you don't already have a GitHub account, you can create one here. After you have an account, make sure you are logged in and viewing this page.
Click on the Fork button at the top of this page and follow the instructions.
After you finishing forking (copying) this repo, vist the repo. Instead of colarusso/EJC2021-sample you will see [your username]/EJC2021-sample. That's how you know you're looking at your own copy. Also, you won't see the your site is published at... message.
- Click on
Settingsin the menu at the top of the page. - Click on
Pagesin the menu on the side of the page. - Choose
mainfrom the dropdown underSource. - Clikc
Save.
After a minute or two you should be able to visit your own webage at something like https://colarusso.github.io/EJC2021-sample/, again with colarusso replaced by your username.
If you don't already have a Spot account, you can create one here. Once you login, navigate to the Token & Docs page and copy your token into your clipboard.
Now we're going to edit the copy of js_bin/Spot.js found in your repo. Be sure you're working with your copy! You'll know you are because your username will be in the URL. We're going to focus on the first four lines. That is:
var man_jur = "LA";
var appBase = "https://afterpattern.com/marketplaces/ejc-legal-apps?nsmi_codes[]=";
var appCodes = ["CO-00-00-00-00","CO-01-00-00-00","FA-00-00-00-00","FA-04-00-00-00","HO-00-00-00-00","HO-02-00-00-00","HO-05-00-00-00","HO-06-00-00-00"];
var bearer = "8c93ab722ab46104cdd6e94b0d777760a6ab18a4d6cab9a8afd1581e91946a64";
- Paste your Spot token into the
bearervariablem replacing the existing token and leaving the quotation marks. - Replace
man_jurwith the abbreivation for your jurisdiction (e.g., TX for Texas). - Replace
appBasewith the URL for your Afterpattern marketplace. Be sure to keep the?nsmi_codes[]=paramter. Also, if you don't have an Afterpattern marketplace, don't worry, you can come back and edit that later. Or you can follow these instructions for setting up a marketplace. - Edit the list of NSMI/LIST codes found in
appCodes. These are the codes for which your marketplace has apps. So if you have both Family and Housing apps, you would edit your list to look like this["FA-00-00-00-00","HO-00-00-00-00"]. If you have more granular apps, you can include those codes too (e.g.,FA-01-00-00-00).
If you want to change the look of your pagge, edit your copy of index.html.

