No description, website, or topics provided.
Ruby JavaScript CoffeeScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
config
db
doc
features
lib
log
public
script
spec
vendor
.gitignore
.rspec
.rvmrc
Gemfile
Gemfile.lock
Guardfile
README
Rakefile
config.ru

README

=======  Welcome to Saral Web Payroll ========

To upload Company Logo
    1. run the command $sudo apt-get install imagemagick libmagick9-dev
    2. $bundle update

To populate rails application with initial data

    1. Create the file /lib/tasks/bootstrap.rake
    2. In the file, add a task to create your default user:

        namespace :bootstrap do
          desc "Add the default user"
          task :default_user => :environment do
            User.create( :name => 'default', :password => 'password' )
          end

          desc "Create the default comment"
          task :default_comment => :environment do
            Comment.create( :title => 'Title', :body => 'First post!' )
          end

          desc "Run all bootstrapping tasks"
          task :all => [:default_user, :default_comment]
        end

    3. When setting up your app for the first time,
        rake db:migrate OR rake db:schema:load

    4. rake bootstrap:all.