cfahlgren1 / bounce Goto Github PK
View Code? Open in Web Editor NEWA Django web application that uses MapBox to show thousands of outdoor basketball courts all around the United States
Home Page: https://bouncemap.com
A Django web application that uses MapBox to show thousands of outdoor basketball courts all around the United States
Home Page: https://bouncemap.com
Request Method: | GET |
---|---|
https://the-bounce-app.herokuapp.com/admin/courts/mapapikey/add/ | |
2.2.10 | |
NotImplementedError | |
UNKNOWN command not implemented for SQL SAVEPOINT "s140628014932096_x1" | |
/app/.heroku/python/lib/python3.7/site-packages/djongo/sql2mongo/query.py in parse, line 815 | |
/app/.heroku/python/bin/python |
I noticed there is no handler404 view and would like to add that if it's okay? There are multiple 404 templates so would need clarification on which to use.
Hi, saw your Reddit link and I'm interested in contributing. But there where no activities in the last three weeks. Everything fine? Your Slack channel invitation also seems to be expired.
Have a nice weekend.
If user location was given, load map from users longitude and latitude, this can be done through the JS library to ask for the user location, then pass the lng and lat into the mapbox script to load map.
On the home page of Bounce, the 'Join Early Access' button isn't submitting the Django form. It currently only works by pressing enter.
Dockerize the application so that it is easy to setup environment and tests without hassles of dependencies
Currently, the django form doesn't inform user on the front end if the email already exists. By following the guide below, it is pretty easy to present an error on the frontend.
You can accomplish this without much hassle!
Using the form is_valid()
method you can check for any errors (Like the already existent email), and render the same page but this time including the error for the user to see.
Look at this simple example: https://www.dark-hamster.com/application/how-to-display-form-error-in-django/
Originally posted by @marcorichetta in #16 (comment)
Add to GraphQL schema where the endpoint will return a court that matches longitude and latitude. Then, instead of using locationiq to get court address, use Bounce API.
Creating a project markdown file outlining how to install and setup Django project to successfully contribute
What is the reason for using pip?
Hey,
I think there are a few things missing in the setup guide. Currently, it does not work for a completely new contributor. I've kept track of the few things I've had to do manually, and I'll push a PR once I'm able to get everything working.
In the meantime, I'm facing an issue when running command ./manage.py loaddata bounce_data.json
bash: ./manage.py: /usr/bin/env: bad interpreter: Permission denied
I also tried python ./manage.py loaddata bounce_data.json
but then I have
Traceback (most recent call last):
File "./manage.py", line 15, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 401, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.8/site-packages/django/core/management/__init__.py", line 395, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 328, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.8/site-packages/django/core/management/base.py", line 369, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.8/site-packages/django/core/management/commands/loaddata.py", line 71, in handle
with transaction.atomic(using=self.using):
File "/usr/local/lib/python3.8/site-packages/django/db/transaction.py", line 175, in __enter__
if not connection.get_autocommit():
File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 390, in get_autocommit
self.ensure_connection()
File "/usr/local/lib/python3.8/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
self.connect()
File "/usr/local/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 220, in ensure_connection
self.connect()
File "/usr/local/lib/python3.8/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 197, in connect
self.connection = self.get_new_connection(conn_params)
File "/usr/local/lib/python3.8/site-packages/django/utils/asyncio.py", line 26, in inner
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/django/db/backends/postgresql/base.py", line 185, in get_new_connection
connection = Database.connect(**conn_params)
File "/usr/local/lib/python3.8/site-packages/psycopg2/__init__.py", line 127, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
Can you help @cfahlgren1 ?
Thanks
Add tests for CI/CD Pipeline for API, Model,End to End testing with cypress.io
Use django-nose or coverage to track testing coverage
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.