This repository has been archived by the owner on Jun 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 32
How to
Stéphane Traumat edited this page Nov 21, 2019
·
18 revisions
First, stop neo4j services with the command :
service neo4j stop
Then, delete all the data :
rm -rdf /var/lib/neo4j/data/
Restart the service neo4j service with the command :
service neo4j start
You will have to set again the password with the command :
curl -H "Content-Type: application/json" -X POST -d '{"password":"YOUR_NEW_PASSWORD"}' -u neo4j:neo4j http://localhost:7474/user/neo4j/password
sudo neo4j-admin dump --database=graph.db --to=/mnt/disk/backup/2016-11-03.dump
On your server create, a file named jstatd.policy
with this content :
grant codebase "file:${java.home}/../lib/tools.jar" {
permission java.security.AllPermission;
};
Then run on your server :
jstatd -J-Djava.security.policy=jstatd.policy
On your computer, run jvisualvm
and connect to your server.
First, change the docker release in docker-compose, then, in the blockchain2graph directory.
Use git remote -v
to check if in https ou ssh.
Switch to ssh : git remote set-url origin git@github.com:straumat/blockchain2graph.git
First of all, change the docker-compose release number of blockchain2graph.
mvn gitflow:release-start
mvn gitflow:release-finish
git push --tags;git push origin master;git push origin development
- Install docker with this documentation.
- Allow user to use docker without being root :
gpasswd -a $USER docker;newgrp docker
.