Skip to content

Commit

Permalink
feat: add neo4j service
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jul 24, 2024
1 parent d24a47d commit 571a13f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions neo4j/src/helpers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ pub fn setup() -> Result<String, Error> {
".devbox/nix/profile/default/share/neo4j",
"../..",
])?
.with_exec(vec!["[ -f ../../neo4j.conf ] || pkgx wget https://raw.githubusercontent.com/fluentci-io/services/main/neo4j/neo4j.conf"])?
.with_exec(vec!["[ -f ../../neo4j.conf ] || pkgx wget https://raw.githubusercontent.com/fluentci-io/services/main/neo4j/neo4j.conf -O ../../neo4j.conf"])?
.with_exec(vec![
"grep -q neo4j: Procfile || echo -e 'neo4j: devbox run neo4j console --dbms.config=\"../../neo4j.conf\" \\n' >> Procfile",
"grep -q neo4j: Procfile || echo -e 'neo4j: devbox run neo4j console --dbms.config=\"../../neo4j.conf\" $NEO4J_ARGS \\n' >> Procfile",
])?
.stdout()?;

Expand Down

0 comments on commit 571a13f

Please sign in to comment.