Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
bin
 
 
 
 
db
 
 
doc
 
 
lib
 
 
log
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Specification

A demo for process management.

structure.v1

Setup

$ git clone git@github.com:ifyouseewendy/baton-web.git
$ bundle install --local

Resource Directory

Create file storage directory.

$ mkdir public/resources

SSH

Add ssh config locally, and add your public key into ~/.ssh/authorized_keys on server.

p7zip

Depend on p7zip for generating OSX/Linux/Win compatible zip file.

Read this post for details http://goo.gl/k0esDi

$ brew install p7zip
$ sudo yum install p7zip p7zip-plugins # CentOS
$ sudo apt-get install p7zip-full p7zip-rar # Ubuntu

Development

File Operation

Both SFTP and Carrierwave save or read files to a uniform path:

"public/resources/#{organization}/#{project.id}/[download|upload]"

So you need to manually create dir public/resources locally, and this dir is auto linked by mina during deployment.

Thor

Use thor to generate organization specific files, then replace it with step jobs.

Mailer

  • Dev by mailcatcher (not included in Gemfile).
  • Use kaitongamc mail in production.

Test

Unit Test

$ rake

Test env

  • FileAgent handles target path based on env option
  • Carrierwave saves file to path based on relevant step env.

Deployment

$ mina deploy

About

A docking platform enables process management.

Resources

Packages

No packages published
You can’t perform that action at this time.