简体   繁体   中英

Configuring Neo4j on Rails to Deploy with Warbler

How do you configure a Neo4j on Rails app to deploy with Warbler? As it stands, every time I deploy my app, the previous production instance of neo4j gets destroyed, because neo4j is embedded. I was hoping that there would be some kind of configuration for production, either through Warbler or through neo4j, so that once a neo4j instance is created on the server it is not replaced with the next deployment.

I guess you could place the neo4j database somewhere persistent outside your volatile codebase and then open Neo4j against eg /var/database ? In case there are existing files, Neo4j will not replace them.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM