Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kcoderhtml/pixie
a wip scavanger hunt for hackclub bag
https://github.com/kcoderhtml/pixie
bag hackclub
Last synced: 2 months ago
JSON representation
a wip scavanger hunt for hackclub bag
- Host: GitHub
- URL: https://github.com/kcoderhtml/pixie
- Owner: kcoderhtml
- Created: 2024-03-21T17:01:25.000Z (10 months ago)
- Default Branch: master
- Last Pushed: 2024-04-15T15:44:08.000Z (10 months ago)
- Last Synced: 2024-07-30T18:57:57.193Z (6 months ago)
- Topics: bag, hackclub
- Language: Astro
- Homepage: https://the-pixie.netlify.app/
- Size: 542 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# The Pixie: a bag adventure
You can see the analytics [here](https://view.flatypus.me/95aac8de-d3fd-4fa0-85d5-2a704ae53288)
This is a website I'm creating for the Hackclub bag game to be used for scavanger hunts at hackathons. More info comming soon as well as docs.
![the pixie admin view](/.github/docs/images/pixie-admin.png)
# Running Yourself
1. First you need to clone the repo and deploy your repo on netlify, it will likely fail the first time because you haven't configured any environment variables yet.
2. You then need to create a slack app with the user token oauth perm: profile. You also need to add several redirect urls to your slack app: http://localhost:8888/.netlify/functions/magic-dust and https:///.netlify/functions/magic-dust. Slack will tell you that you can't add non https redirect urls but if you right click on the submit button thats disabled and in the dev tools remove the class disabled and the disabled property then you can still submit it.
3. You need to add these environment variables to your netlify environment variables tab for your new site:
```env
ADMIN_CODE=
AIRTABLE_API_KEY=
AIRTABLE_BASE_ID=
BAG_APP_ID=
BAG_APP_KEY=
BAG_IDENTITY_ID=
BASEURL=
FLATY_PIXEL=
SLACK_CLIENT_ID=
SLACK_CLIENT_SECRET=
```4. Link your netlify site to your local repo with `ntl login && ntl link` then you can run localy with `ntl dev`