14 Commits

Author SHA1 Message Date
Robert Schäfer
c30548d1e8 Fix bugs in migration script for neo4j
Only change the password, if we are the default user. Everything else
should be executed.
2019-02-20 12:53:56 +01:00
Robert Schäfer
f17242b824 Transfer relevant changes from branch neode 2019-02-18 12:57:07 +01:00
Robert Schäfer
5492b282bc Refactoring: No uploads/ vol,access neo4j directly
Digital Ocean does not support shared directories. So we have to uploads
the images in `/uploads` via `kubectl cp` or something similar.
Likewise, it is not possible to share the exported mongodb .json files
with neo4j container. Therefore let's install `cypher-shell`, included
in `neo4j` package, to directly open a neo4j connection and bulk import
the data.
2019-02-04 14:31:40 +01:00
Robert Schäfer
494748c4c4 Import shouts 2019-01-22 12:48:06 +01:00
Robert Schäfer
932a593cfa Import follows 2019-01-22 12:48:06 +01:00
Robert Schäfer
ce7ce40272 Import badges 2019-01-22 12:48:06 +01:00
Robert Schäfer
f69a0daeef Import categories, manually assign correct icon
Big fun 👍
2019-01-22 12:48:06 +01:00
Robert Schäfer
2cab6fe9cf Replace scp with rsync
`rsync` is faster on multiple runs. The `--update` flag will only
download newer images and does not overwrite existing files. Thus, it will
only download missing images.
2019-01-22 12:48:06 +01:00
Robert Schäfer
5ccfed2994 Fix CodeFactor 2019-01-20 23:32:56 +01:00
Robert Schäfer
3aef664c8c Import collections in order 2019-01-20 23:18:42 +01:00
Robert Schäfer
b272024933 Import comments 2019-01-19 00:01:30 +01:00
Robert Schäfer
887a6d201f Import contributions to neo4j 2019-01-18 23:53:00 +01:00
Robert Schäfer
97e6acf46b Import of all users in one script:
```sh
docker-compose exec neo4j import/import.sh
```
2019-01-18 22:45:29 +01:00
Robert Schäfer
8d8dfb0640 Provision neo4j container with import script 2019-01-16 02:10:42 +01:00