Giter VIP home page Giter VIP logo

cycle_'s Introduction

cycle_

Cycle_ white label bike tracking application

This Git repository helps you get up and running quickly w/ with the cycle_ back-end installation on OpenShift. It defaults to using MySQL, so when creating the application you'll want to select and install both MySQL and Cron (for running scheduled tasks).

rhc app create mycity php-5.4 mysql-5.1 cron CYCLE_DB_NAME=dbName --from-code=git://github.com/melleio/cycle_.git

Setup


This app defaults to using MySQL, so when creating the application you'll want to select and install both MySQL and Cron (for running scheduled tasks). rhc app create cycle_mycity php-5.4 mysql-5.1 cron

The default database name is the same as the application name. If you want to use a different name for your database add the following environment variable to your openshift installation:

CYCLE_DB_NAME="cycle_my_city"

With this installed, you are ready to post data from the cycle_ apps to this server at

http://app_name-domain_name.rhcloud.com/post/

Running on OpenShift

Create an account at https://www.openshift.com

Create a php-5.4 application with MySQL and Cron support.

rhc app create mycity php-5.4 mysql-5.1 cron CYCLE_DB_NAME=dbName --from-code=git://github.com/melle/cycle_.git 

That's it, you can now checkout your application at: http://mycity-$yournamespace.rhcloud.com

You can now use the cycle_ android, ios, or other apps to post trips http://mycity-$yournamespace.rhcloud.com/post/

API

Coming Soon!

Repo layout

web/ - The main directory for your cycle_ site.
libs/ - library files for managing the uploading of data
api/ - API for cycle_ powered by SilverStripe framework
vendor/ - Third party services added via composer
.openshift/action_hooks/build - Script that gets run every push, just prior to starting your app

Notes about layout

If you are using openshift, you can read more about the application structure at https://developers.openshift.com/en/php-getting-started.html#set-document-root

cycle_'s People

Contributors

emelleme avatar

Stargazers

Russell Vea avatar Jason Axelson avatar Kathryn Killebrew avatar

Watchers

 avatar James Cloos avatar

cycle_'s Issues

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.