Coder Social home page Coder Social logo

suer / sunline Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codefirst/sunline

0.0 2.0 0.0 780 KB

A lightweight script and log management tool for DevOps

Home Page: http://www.codefirst.org/sunline/

Ruby 55.44% JavaScript 21.30% CoffeeScript 0.12% CSS 2.45% HTML 20.69%

sunline's Introduction

Sunline

Deploy

Build Status Code Climate wercker status

Install

Install dependencies:

$ bundle install --path .bundle --without development test

Precompile assets:

$ bundle exec rake assets:precompile RAILS_ENV=production

Setup database:

$ bundle exec rake db:migrate RAILS_ENV=production

S3 settings

if you use S3 as storage, set several environment variables.

$ export PAPERCLIP_STORAGE_TYPE=s3
$ export AWS_BUCKET=bucket name
$ export AWS_ACCESS_KEY_ID=access key
$ export AWS_SECRET_ACCESS_KEY=secret access key

Run:

$ export OMNIAUTH_PROVIDER=github
$ export OMNIAUTH_ARGS="['Client ID','Client Secret']"
$ export SUNLINE_LOCALE=ja    # in japanese only
$ export SUNLINE_TIMEZONE=Tokyo    # rake time:zones:all
$ bundle exec rails s -e production

and access to http://localhost:3000/

For developers

Setup database:

$ bundle exec rake db:migrate RAILS_ENV=test

Run tests:

$ bundle exec rake

sunline's People

Contributors

suer avatar mallowlabs avatar

Watchers

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