This repository has been archived on 2024-12-01. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
2012-01-03 21:11:44 +00:00
app Modificado todo 2012-01-03 21:11:44 +00:00
assets Modificado todo 2012-01-03 21:11:44 +00:00
config Modificado todo 2012-01-03 21:11:44 +00:00
db/migrate Modificado todo 2012-01-03 21:11:44 +00:00
lib Modificado todo 2012-01-03 21:11:44 +00:00
test Modificado todo 2012-01-03 21:11:44 +00:00
init.rb Modificado todo 2012-01-03 21:11:44 +00:00
README.rdoc Importación inicial 2012-01-03 16:18:32 +00:00

= 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