balanced / rentmybikes Goto Github PK
View Code? Open in Web Editor NEWpremium bike rentals - sample marketplace application
Home Page: rentmybike.co
License: Other
premium bike rentals - sample marketplace application
Home Page: rentmybike.co
License: Other
You have a live example at http://rentmybike-rails.herokuapp.com/ but there is no reference to it in the Github repo.
An older version is also floating around at https://rentmybike.co/ but the functionality of that old version is broken. A link to the new site here would help prevent people from looking at the old site.
Add a security seal to the page so we know who powers Rent My Bike.
The relevant code would be something like
<a href="https://www.balancedpayments.com"><img src="https://balancedpowered.s3.amazonaws.com/secured-1-1.png" alt="Secured by Balanced"></a>
rentmybike.co should redirect to www.rentmybike.co
https://gist.github.com/juanfiguera/5120505
17:22:28 web.1 | Traceback (most recent call last):
17:22:28 web.1 | File "/Users/juanfiguera/.virtualenvs/rentmybike/lib/python2.7/site-packages/gunicorn/arbiter.py", line 469, in spawn_worker
17:22:28 web.1 | worker.init_process()
17:22:28 web.1 | File "/Users/juanfiguera/.virtualenvs/rentmybike/lib/python2.7/site-packages/gunicorn/workers/base.py", line 100, in init_process
17:22:28 web.1 | self.wsgi = self.app.wsgi()
17:22:28 web.1 | File "/Users/juanfiguera/.virtualenvs/rentmybike/lib/python2.7/site-packages/gunicorn/app/base.py", line 99, in wsgi
17:22:28 web.1 | self.callable = self.load()
17:22:28 web.1 | File "/Users/juanfiguera/.virtualenvs/rentmybike/lib/python2.7/site-packages/gunicorn/app/wsgiapp.py", line 24, in load
17:22:28 web.1 | return util.import_app(self.app_uri)
17:22:28 web.1 | File "/Users/juanfiguera/.virtualenvs/rentmybike/lib/python2.7/site-packages/gunicorn/util.py", line 287, in import_app
17:22:28 web.1 | __import__(module)
17:22:28 web.1 | File "/Users/juanfiguera/Projects/rentmybikes/rentmybike/__init__.py", line 16, in <module>
17:22:28 web.1 | config.from_object('rentmybike.settings.custom')
17:22:28 web.1 | File "/Users/juanfiguera/.virtualenvs/rentmybike/lib/python2.7/site-packages/flask/config.py", line 163, in from_object
17:22:28 web.1 | obj = import_string(obj)
17:22:28 web.1 | File "/Users/juanfiguera/.virtualenvs/rentmybike/lib/python2.7/site-packages/werkzeug/utils.py", line 422, in import_string
17:22:28 web.1 | __import__(modname)
17:22:28 web.1 | ImportStringError: import_string() failed for 'rentmybike.settings.custom'. Possible reasons are:
17:22:28 web.1 |
17:22:28 web.1 | - missing __init__.py in a package;
17:22:28 web.1 | - package or module path not included in sys.path;
17:22:28 web.1 | - duplicated package or module name taking precedence in sys.path;
17:22:28 web.1 | - missing module, class, function or variable;
17:22:28 web.1 |
17:22:28 web.1 | Debugged import:
17:22:28 web.1 |
17:22:28 web.1 | - 'rentmybike' found in '/Users/juanfiguera/Projects/rentmybikes/rentmybike/__init__.py'.
17:22:28 web.1 | - 'rentmybike.settings' found in '/Users/juanfiguera/Projects/rentmybikes/rentmybike/settings/__init__.py'.
17:22:28 web.1 | - 'rentmybike.settings.custom' not found.
17:22:28 web.1 |
17:22:28 web.1 | Original exception:
17:22:28 web.1 |
17:22:28 web.1 | ImportError: No module named custom
17:22:28 web.1 | 2013-03-08 17:22:28 [58981] [INFO] Worker exiting (pid: 58981)
17:22:28 web.1 | 2013-03-08 17:22:28 [58980] [INFO] Shutting down: Master
17:22:28 web.1 | 2013-03-08 17:22:28 [58980] [INFO] Reason: Worker failed to boot.
17:22:28 web.1 | process terminated
Oops
Traceback (most recent call last):
File "/app/.heroku/python/lib/python2.7/site-packages/flask/app.py", line 1262, in full_dispatch_request
rv = self.dispatch_request()
File "/app/.heroku/python/lib/python2.7/site-packages/flask/app.py", line 1248, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)
File "<string>", line 2, in update
File "/app/rentmybike/controllers/__init__.py", line 83, in validation_func
return function(*args, forms=existing_forms, **kwargs)
File "<string>", line 2, in update
File "/app/rentmybike/controllers/__init__.py", line 83, in validation_func
return function(*args, forms=existing_forms, **kwargs)
File "/app/rentmybike/controllers/rent.py", line 130, in update
charge=balanced.Transaction.find(rental.debit_uri)
File "/app/rentmybike/email.py", line 36, in send_email
current_app.emailer.send(msg)
File "/app/.heroku/python/lib/python2.7/site-packages/flaskext/mail/__init__.py", line 96, in send
message.send(connection)
File "/app/.heroku/python/lib/python2.7/site-packages/flaskext/mail/message.py", line 131, in send
assert self.sender, "No sender address has been set"
AssertionError: No sender address has been set
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.