Coder Social home page Coder Social logo

snap-cloud / snap-cloud-rails Goto Github PK

View Code? Open in Web Editor NEW
5.0 5.0 1.0 4.24 MB

DEPRECATED -- A prototype Rails-based cloud service for Snap! Go Here →

Home Page: https://github.com/bromagosa/snapCloud

License: GNU Affero General Public License v3.0

Ruby 70.05% HTML 14.31% JavaScript 2.57% CSS 3.84% Gherkin 9.21% Shell 0.02%
education rails snap visual-programming-language

snap-cloud-rails's Introduction

An interactive, project sharing site for Snap!.

Code Climate Build Status Test Coverage Inline docs Dependency Status security

What is Snap! Cloud?

This section is TODO

  • Snap! GH Repo
  • Snap! homepage
  • scratch site

Background

The initial design and development of this project was during Spring 2015 for Professor Fox's CS169, "Software Engineering" course at UC Berkeley. The original team members were:

  • Alec Guertin
  • Arjun Baokar
  • Jason Wang
  • Linda Lee
  • Michael Ball
  • Steven Campos

Setting Up

This (currently) project uses Rails 4.2.1 and Ruby 2.2.1, and aims to be always up to date!

The Heroku destination for the app is https://ucbsnap.herokuapp.com

  1. CLONE WITH -r git clone -r [email protected]:snap-cloud/snap-cloud.git
  2. You should have rvm or similar installed.
  3. bin/setup
  4. bundle install --without production
  5. git remote add heroku [email protected]:ucbsnap.git

Dependencies

  • nodeJS (>= v0.10) and npm
    • Used for bower
  • Ruby 2.2.1
  • imagemagick for testing profile and thumbnail management
  • OS X -- if you have brew there will be an install script sometime...

Development Notes

[ TODO: Move this section to a Wiki?]

  • GitHub Flow [link needed...]

  • The awesome print gem

$ rails console
ap SomeObject

Heroku Deployment

To deploy to Heroku, you should simply need to do a git push heroku master. However, the build process is slightly more complex than a traditional Rails app.

Heroku Deployment uses a custom "build pack"

  1. Install nodeJS
  2. Post Node install, install bower
  3. Then run the normal Ruby buildpack
  4. Install with bundler
  5. Serve using the Puma (multithreaded) web server

Pre-Reqs to Deployment:

  1. Make sure you have a Postgres database added to the Heroku environment.
  2. That's it?

License

Please see the file LICENESE for a full copy of the current license for this project (AGPL 3).

snap-cloud-rails's People

Contributors

alecguertin avatar arjunbaokar avatar cycomachead avatar jasonewang avatar scampos1030 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

snap-cloud-rails's Issues

Sign up age

Only people less than five years old can sign up for the app.

User Credits Page

Everyone in the CS169 needs to have their name on a public page somewhere. ❤️

Fix the Assets Issues Even More

  • We don't want to commit assets to the repo
  • heroku should bower install for us
  • try using the execjs gem to force heroku to install bower
  • update readme for dependency

Heroku Postgres 9.4 is out!!!

Yes!

We should migrate and test. :)

JSON is a supported data type which is some super cool uses... Like storing projects in a DB.

lol_nothing

There are lol_nothing links on the dashboard

Update rspec rails to >= 3.1

Apparently, 3.1 is required for Rails 4.2, but we've been getting by on 2.x
(Note the deprecation warnings...)
However, the change is a non-trivial

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.