Git Product home page Git Product logo

georacer's Introduction

Geo Racer

Ready, set, race! With GeoRacer.io, you’ll set up a course of custom waypoints to race your friends! The game’s hot/cold meter will guide you as you rush to your next waypoint. Competition getting a little too close? Wanna keep your lead? Hit racers with one of the in game hazards. Find all the waypoints first to be the champ. There will be many GeoChasers, but only one GeoRacer.

Geo Racer was created by a small, mighty team at Gaslight, using Phoenix and LiveView for Phoenix Phrenzy

Geo Racer App

Start your Phoenix server

PostGIS Extensions

GeoRacer has a dependency on the PostGIS extensions for Postgres, so you will need to make sure you install those for your operating system. Take a look [at the official installation page] (https://postgis.net/install/) for instructions specific to your machine. Once you have the extensions installed, you should be able to run mix ecto.setup (make sure you've fetched your dependencies first with mix deps.get!) from the root directory and the Ecto migrations will take care of enabling the extensions for you.

Environment Variables

GeoRacer also requires you to have a SECRET_KEY_BASE environment variable set to run locally. If you don't have one already, you can generate one with:

export SECRET_KEY_BASE="$(mix phx.gen.secret)"

Client-side Dependencies

Don't forget to install your client-side assets before running the app: cd ./assets && npm install

Local Development

Run mix phx.server now and you can visit localhost:4000 the app in your browser. Since the app was designed specifically for mobile devices, it is best to expose a portal or a way to access the local server running on your machine from your mobile phone. One quick and easy option is to use ngrok. Install ngrok on your machine and then /path/to/ngrok http 4000. This should print out two links, one that uses https. You will want to use the secure https link to get the geolocation services to work on your device (browsers will not send geolocation information over non-secure http connections).

License

All rights to Geo Racer Brand and design assets are reserved.

Copyright (C) 2019  Gaslight LLC, Zack Kayser, Robert Heubach, Scott Wiggins

Geo Racer is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Geo Racer is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
[GNU General Public License] (/LICENSE) for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.