https://github.com/maxmcd/magic
for magicians
https://github.com/maxmcd/magic
Last synced: about 1 month ago
JSON representation
for magicians
- Host: GitHub
- URL: https://github.com/maxmcd/magic
- Owner: maxmcd
- License: mit
- Created: 2015-03-17T19:24:16.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-03-18T20:50:03.000Z (about 10 years ago)
- Last Synced: 2025-03-17T20:12:00.729Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 383 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Magic

### Setup
1. Create a postgres database called `magictest` or `magic` for production.
2. Sign up for a [Twilio](http://twilio.com) account. You need to set two ENV variables for the twilio config:```
export TWILIO_MAGIC_SID="twiliosidgoeshere"
export TWILIO_MAGIC_TOKEN="twiliosecrettokengoeshere"
```
3. Sign up for a [Stripe](https://stripe.com) account. You need to set one ENV variable for Stripe:```
export STRIPE_MAGIC_API_KEY="stripeapikeygoeshere"
```
4. There are a handful of config variables to set to customize your Magic application:```
export MAGIC_NAME="Magic"
export MAGIC_PHONE_NUMBER="(646) 760-1925"}
export MAGIC_PHONE_NUMBER_FORMATTED="+16467601925"
```