A command line tool to populate Zendesk organizations and users from a CSV file
Ruby
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
db/migrate
lib
public/css
.gitignore
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
zdpop_data.csv
zendesk-populator.gemspec

README.md

zendesk-populator

Description

Zendesk Populator has two components:

  • A front-end for adding users to Zendesk
  • A simple command line tool to populate Zendesk organizations and users from a CSV file.

Front-End

Installation & Usage

  1. Run bundler.

     $ bundle install
    
  2. Create config.yml and database.yml from the example files. Update them you required configuration.

  3. Run database migration.

     $ rake db:migrate
    
  4. Rackup the application.

  5. You can now enter new users. You must supply the company name, full name and email address.

  6. Click "Add new user" and the new user will be created.

  7. You can also browse to http://application/backstage to see the currently included users and download them as a CSV file. This section is password protected using the username and password defined in the config.yml file.

Command line tool

Installation & Usage

  1. Run bundler

  2. Update the zendesk_site, zendesk_user and zendesk_password variables in the config.yml file.

  3. Create a data file containing the accounts to be loaded in the form:

    org_name,user_name,email_address
    
  4. Run the zdpop command with the -d or --data-file command line option to specify the location of the data file.

    $ zdpop -d newaccounts.csv
    

Author

James Turnbull james@lovedthanlost.net

License

Author:: James Turnbull (<james@lovedthanlost.net>)
Copyright:: Copyright (c) 2011 James Turnbull
License:: Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.