0

When I upload documents using Erica into CouchDB it removes my rewrites. Is there a way to configure my rewrites in Erica? If so I've been unable to figure it out, any help would be great!

gdelfino
  • 11,053
  • 6
  • 44
  • 48
skinneejoe
  • 3,921
  • 5
  • 30
  • 45
  • Ok I'm getting closer I realized Erica will just push any file or folder in my directory up as a field in my design doc, but I can only get the values to come out as strings, but instead it needs to be a JSON array... – skinneejoe Aug 21 '13 at 23:10

1 Answers1

0

Aha! Got it! So simple... Just add a rewrites.json file to your app directory and it will push it up along with everything else.

skinneejoe
  • 3,921
  • 5
  • 30
  • 45
  • is this the correct answer? Is it, and question, useful? – ctrl-alt-delor Feb 25 '18 at 22:45
  • This was the correct answer a the time, however I haven't worked with CouchDB for quite a while, and I can't recall much of this problem. If you are having a similar issue it may be best to open a new question. – skinneejoe Feb 26 '18 at 13:10