Skip to content
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

feat: Adjustments to defaults, postgres docker example, minor fixes #26

Merged
merged 4 commits into from
Dec 20, 2023

Conversation

dav1do
Copy link
Contributor

@dav1do dav1do commented Dec 19, 2023

While experimenting, I noticed a few minor things and made some adjustments.

  • Some defaults were different when choosing advanced config as opposed to accepting all defaults. Adjusted these to align more closely when it made sense. For example, running a gateway node and the default app name.
    -There was a bug installing a test app when the branch had a slash in the name, this has been fixed.
  • I added information (and a compose file) for running postgres in docker rather than installing the server locally. I modified my config to use it for my inmemory network and it seemed to work okay.
  • Remove npm install -g. Installing globally doesn't work with how the daemon start is currently implemented. Rather than fix that, prefer a local install as we don't need a global install. The test app brings its own node_modules folders and scripts to run ceramic/composedb, and this makes it easier to compare multiple versions in different folders.

I made some changes to the test app which is how I noticed the branch issue.

They are similar when keeping everything, and when choosing to modify
and selecting all the default prompts (mainly changing gateway default)
Previously, the the app would fail to install due to file path issues,
now it works.
Only for local testing if you don't want to install postgres binaries.
@dav1do dav1do changed the title feat: Some adjustments to defaults, postgres docker example, minor fixes feat: Adjustments to defaults, postgres docker example, minor fixes Dec 19, 2023
- Installing globally doesn't work with how the daemon start is currently implemented. Rather than fix that, prefer a local install.
We don't need a global install. The test app brings its own node_modules folders and scripts to run ceramic/composedb, and this makes it easier to compare multiple versions.
@dav1do dav1do marked this pull request as ready for review December 20, 2023 00:15
@dav1do dav1do requested a review from dbcfd December 20, 2023 00:16
@dav1do dav1do merged commit def31f0 into main Dec 20, 2023
1 check passed
@dav1do dav1do deleted the feat/testing-updates branch December 20, 2023 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants