Giter Club home page Giter Club logo

app-web-alpha's Introduction

= Timejust Api & Front

All Google api keys for oauth are generated with the following account : [email protected] / t1m3ju$t
After logging, go to https://code.google.com/apis/console

== Installation ==

  gem install bundler
  bundle install

== Development == 

ssh -v -nNT4 -R *:50002:192.168.15.101:80 [email protected]
ssh -v -nNT4 -R *:50004:192.168.15.101:80 [email protected]

== Tests ==

Api:

    bundle exec rspec spec/

Js:

    * bundle exec rake jasmine, and goto http://localhost:8888/
OR
    * bundle exec rake jasmine:ci

== Events test ==

Start `bundle exec rails c`:

    e = Event.new(
        :title => 'test', :user => User.last,
        :location => '15 rue poissonnère paris',
        :start_time => Time.now, :end_time => Time.now + 3600,
        :google_id => "hem5s6ln8t0d1t84j9a35lfrok",
        :google_calendar_id => "[email protected]"
        )
    e.create_current_travel_node(address: "15 Rue Poissonnière, 75002 Paris, France", state: "confirmed")
    e.create_next_travel_node(address: "Avenue René Goscinny, Paris, 77700 Chessy, France", state: "confirmed")
    e.create_previous_travel_node(address: "82 Boulevard de Clichy, 75018 Paris, France", state: "confirmed")
    e.save

This will publish to the event on workers

We can continue with changing the state manually:

    Event.last.travels_waiting

app-web-alpha's People

Stargazers

 avatar

Watchers

minsikzzang avatar James Cloos avatar  avatar

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.