Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (13 sloc) 435 Bytes
# drop the test database,
# create a users collection,
# and create an admin user (so we can add and edit words)
mongo persianTest --eval '
db.dropDatabase();
db.adminCommand( { setFeatureCompatibilityVersion: "3.4" } );
db.createCollection("users");
db.users.insert({
username: "admin",
email: "admin@test.com",
role: "admin",
password: "$2a$10$tcHz5Nl8IHvxhj7zdxhWR.jZPRO52Ftqr5PfGuzBuZdRJX2NX1KgW"
});'
You can’t perform that action at this time.