git-svn-id: https://192.168.0.254/svn/Rodax.redmine_rodax_crm/trunk@2 ff88604e-da85-c949-a72f-fc3aa3ba3724
33 lines
1.0 KiB
Plaintext
33 lines
1.0 KiB
Plaintext
= Contacts plugin
|
|
|
|
== Install
|
|
|
|
* Copy redmine_contacts_plugin to vendor/plugins on your redmine path or
|
|
@svn co http://hgftr.ru/svn/repository/redmine/redmine_contacts/trunk/ redmine_contacts@
|
|
* Run rake db:migrate_plugins RAILS_ENV=production
|
|
* Run rake gems:install RAILS_ENV=production
|
|
|
|
Conflicted with redmine_customer plugin
|
|
|
|
== Uninstall
|
|
|
|
<pre>
|
|
rake db:migrate:plugin NAME=redmine_contacts VERSION=0 RAILS_ENV=production
|
|
rm -r vendor/plugins/redmine_contacts
|
|
</pre>
|
|
|
|
|
|
== Test
|
|
rake db:drop RAILS_ENV=test_sqlite3
|
|
rake db:migrate db:migrate_plugins RAILS_ENV=test_sqlite3
|
|
rake test:plugins:integration PLUGIN=redmine_contacts RAILS_ENV=test_sqlite3
|
|
rake test:plugins:functionals PLUGIN=redmine_contacts RAILS_ENV=test_sqlite3
|
|
rake test:plugins PLUGIN=redmine_contacts RAILS_ENV=test_sqlite3
|
|
|
|
rake db:reset db:migrate_plugins test:plugins NAME=redmine_contacts RAILS_ENV=test
|
|
|
|
rake test:engines:all PLUGIN=redmine_contacts
|
|
|
|
=== Test API
|
|
|
|
curl -v -H "Content-Type: application/xml" -X POST --data "@contact.xml" -u bkv:Bxd2Hd5 http://localhost:3000/contacts.xml |