-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md #50
Update README.md #50
Conversation
docs/developer/README.md
Outdated
|
||
For a basic setup without Docker, follow these steps. | ||
|
||
### Step 1: Set Up CouchDB | ||
1. Install CouchDB on Mac: | ||
```shell | ||
brew install couchdb | ||
``` | ||
2. Configure CouchDB: | ||
```shell | ||
nano /opt/homebrew/etc/local.ini | ||
``` | ||
3. Restart CouchDB: | ||
```shell | ||
brew services restart couchdb | ||
``` | ||
4. Access CouchDB at [http://localhost:5984/_utils/#](http://localhost:5984/_utils/#). | ||
|
||
### Step 2: Create Databases | ||
1. Create the following databases in CouchDB: | ||
- `app` | ||
- `app-attachments` | ||
- `notification-webhook` | ||
- `Report-calculation` | ||
|
||
3. In the `app` database, add these configuration documents: | ||
- **Config:CONFIG_ENTITY** | ||
- **Config:Permissions** | ||
|
||
**Note**: Please reach out to the tech team to get the specific details for these configuration documents. | ||
|
||
### Step 3: Set Up Replication Backend | ||
- Follow the project setup instructions provided in the [Backend Setup Guideline](https://github.com/Aam-Digital/replication-backend/blob/master/README.md). | ||
|
||
Once completed, you’ll have a minimal local environment without Docker. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this one actually work, @Abhinegi2 ? Or does this run into the issue of data not syncing to the local CouchDB because authentication is missing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sleidig It works, but I think anyone working in the app needs to sync with the database at least once, so this might not be very helpful without authentication. Can I remove this? However, for just fetching the data—like we do in public forms—it can still retrieve the data successfully.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if the normal create/update entities is not supported, then I think this option is more confusing than helpful. Let's remove it if that is the only case
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sleidig removed the mentioned section have a look now
@tomwwinter can you have a quick look over this and merge it, if it looks okay to you as well? |
Description of changes