benoitc / benoitc/erica

push with use of .couchapprc pushes to environment name

Open
#15 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
264
Forks
30
PR merge metrics
No merged PRs in 30d

Description

Assume you have a .couchapprc file like so:

{
"env": {
"development": {
"db": "http://127.0.0.1:5984/event_board"
}
}
}

When using the push button in the webinterface, the lightbox opens and asking for a URL or an environment name. Writing "development" here should create a database called event_board. But actually it is creating a database called development.

The STDOUT of Erica Web says also:

==> Successfully pushed. You can browse it at: http://127.0.0.1:5984/development/_design/event_board/index.html

Doing it with the CLI it is correct:

$ erica push development
==> event_board (push)
==> Successfully pushed. You can browse it at: http://127.0.0.1:5984/event_board/_design/event_board/index.html

Cheers

Andy

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue by configuring .couchapprc with the shown development environment, then use the web interface push button and compare its result with `erica push development`. Done means the web interface resolves the environment name to the configured `event_board` database and reports the matching browse URL.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.