-
Notifications
You must be signed in to change notification settings - Fork 616
Migrating to 1.0
Matias Lescano edited this page Oct 7, 2015
·
17 revisions
The newest version of node is available on nodejs.org. We recommend to use a Node Version Manager such as n
or nvm
.
Available for download on mongodb.org.
First of all, make sure to do a backup of your database:
mongodump -h <host>:<port> -d <db-name> -u <db-user> -p <db-pass> -o <backup-destination-folder>
In a MongoDB shell please type the following:
db.laws.renameCollection('topics')
In a MongoDB shell:
db.comments
.update({ context: 'summary' },
{ $set: { context: 'body' } },
{ multi: true })
db.comments
.update({ context: 'law' },
{ $set: { context: 'topic' } },
{ multi: true })
As of 1.0
the Notifier
can be used as a standalone server (the way that you probably have it right now) or as an embebed app super easy to configure.
To continue using your standalone DemocracyOS/notifier-server
simply update it to >= 1.0.0
.
If you want to use the embebed notifier, first tear down your notifier-server
, and then simply configure the config values.
Visit our official website - Developed by Democracia en Red and contributors from the world over!