You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.
I populated my local.env with the example in the readme, and ran make run. I got the following error:
Traceback (most recent call last):
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/server.py", line 122, in main
_main(argv)
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/server.py", line 48, in _main
website = Website(argv)
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/website.py", line 25, in init
self.configure(argv)
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/configuration/init.py", line 349,
execfile(filepath, {'website': self})
File "/Users/atroche/dev/www.gittip.com/configure-aspen.py", line 11, in
gittip.wireup.billing()
File "/Users/atroche/dev/www.gittip.com/gittip/wireup.py", line 29, in billing
stripe.api_key= os.environ['STRIPE_SECRET_API_KEY']
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)
KeyError: 'STRIPE_SECRET_API_KEY'
I populated my local.env with the example in the readme, and ran
make run
. I got the following error:Traceback (most recent call last):
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/server.py", line 122, in main
_main(argv)
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/server.py", line 48, in _main
website = Website(argv)
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/website.py", line 25, in init
self.configure(argv)
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/site-packages/aspen/configuration/init.py", line 349,
execfile(filepath, {'website': self})
File "/Users/atroche/dev/www.gittip.com/configure-aspen.py", line 11, in
gittip.wireup.billing()
File "/Users/atroche/dev/www.gittip.com/gittip/wireup.py", line 29, in billing
stripe.api_key= os.environ['STRIPE_SECRET_API_KEY']
File "/Users/atroche/dev/www.gittip.com/env/lib/python2.7/UserDict.py", line 23, in getitem
raise KeyError(key)
KeyError: 'STRIPE_SECRET_API_KEY'
Adding
STRIPE_SECRET_API_KEY=1
STRIPE_PUBLISHABLE_API_KEY=1
to local.env fixed the issue.
The text was updated successfully, but these errors were encountered: