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
-
Run bundler.
$ bundle install
-
Create config.yml and database.yml from the example files. Update them you required configuration.
-
Run database migration.
$ rake db:migrate
-
Rackup the application.
-
You can now enter new users. You must supply the company name, full name and email address.
-
Click "Add new user" and the new user will be created.
-
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
-
Run bundler
-
Update the
zendesk_site
,zendesk_user
andzendesk_password
variables in theconfig.yml
file. -
Create a data file containing the accounts to be loaded in the form:
org_name,user_name,email_address
-
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.