Coder Social home page Coder Social logo

camome's Introduction

What is camome?

Camome is a Rails application to collect data from various application and organize them.

Setup Ruby Environment

Ruby2.1.5
Rails4.1.8

I recommend you to install new Ruby and Bundler on the top of Rbenv before install camome.

  1. Install rbenv + ruby-build (check https://github.com/rbenv/rbenv#basic-github-checkout for details)
    $ git clone [email protected]:rbenv/rbenv.git ~/.rbenv
    $ git clone [email protected]:rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build
    # Edit your shell dot files to add some path and environment variables.
        
  2. Install Ruby and Bundler
    # Install ruby 2.1.5
    $ rbenv install 2.1.5
    
    # Installation check
    $ rbenv global 2.1.5
    $ ruby -v # -> You will see: ruby 2.1.5...
    
    # Install bundler for your new Ruby
    $ gem install bundler
    
    # Activate bundler
    $ rbenv rehash
    
    # Get back to your system default Ruby if you want
    $ rbenv global system # say, /usr/bin/ruby
    $ ruby -v
        

Install camome

Clone camome

  1. clone camome from github
    $ git clone [email protected]:nomlab/camome.git ~/Programs/camome
        
  2. Setup to use installed ruby
    $ cd ~/Programs/camome
    $ ruby -v # -> You will see: ruby 2.1.5...
        

Setup camome

  1. Install vendor/bundle stuffs
    $ bundle install --path vendor/bundle
        
  2. Setup secret key
    $ bundle exec rake secret # -> You will see: foobarbuz... Copy the string.
    $ cp config/secrets-example.yml config/secrets.yml
    $ vim config/secrets.yml # -> Replace all <SECRETKEY> with the string outputted
        
  3. Setup DB
    $ bundle exec rake db:migrate
        
  4. Initialize DB
    $ bundle exec rake db:seed
        
  5. Install submodule
    $ git submodule init
    $ git submodule update
        

Launch camome

  1. Launch camome app
    $ bundle exec rails s
        
  2. Open http://localhost:3000 in the web browser
    # Example
    $ open http://localhost:3000
        

Help

Default user

Login name:admin
Password:  admin

Create new user

  1. Access to http://localhost:3000/users, and click “New User”
  2. After creating new user, access to http://localhost:3000/gate/logout to logout current user
  3. Make sure that you can login with the created user.

camome's People

Contributors

kobayashi1027 avatar murata1224 avatar yoshida564 avatar danjo-m avatar ichikawa85 avatar hiromuishikawa avatar okada-takuya avatar ikeda-yuko avatar tsubokawa-t avatar kitagaki avatar emiksk avatar yoshinari-nomura avatar

Watchers

James Cloos avatar  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.