-
-
Notifications
You must be signed in to change notification settings - Fork 64
Demo Database
Akram El Assas edited this page Jun 8, 2025
·
9 revisions
- Download and install MongoDB Command Line Database Tools.
- On Windows, add MongoDB Command Line Database Tools folder to
Path
environment variable. - Download movinin-db.zip down to your machine, unzip it and go to the unzipped folder from a terminal.
- Restore Movin' In demo db by using the following command:
mongorestore --verbose --drop --gzip --host=127.0.0.1 --port=27017 --username=admin --password=$PASSWORD --authenticationDatabase=admin --nsInclude="movinin.*" --archive=movinin.gz
Replace $PASSWORD with your MongoDB password.
If you are using MongoDB Atlas, put your MongoDB Atlas URI in --uri=
command line argument:
mongorestore --verbose --drop --gzip --uri=mongodb://admin:$PASSWORD@127.0.0.1:27017/movinin?authSource=admin&appName=movinin --nsInclude="movinin.*" --nsFrom="movinin.*" --nsTo="movinin.*" --archive=movinin.gz
Copy the content of cdn
in /var/www/cdn/movinin on Linux or C:\inetpub\wwwroot\cdn\movinin on Windows.
cdn
folder contains the following folders:
-
users
: This folder contains users’ avatars and suppliers’ images. -
properties
: This folder contains properties’ images. -
temp
: This folder contains temporary files.
Finally, add full access permissions to the user who is running Movin' In API on /var/www/cdn/movinin on Linux or C:\inetpub\wwwroot\cdn\movinin on Windows.
Backend credentials:
-
Username: admin@movinin.io
-
Password: M00vinin
Frontend and mobile app credentials:
-
Username: jdoe@movinin.io
-
Password: M00vinin
To restore Movin' In demo database in Docker container, proceed as follow:
- Make sure that the ports 80, 3001, 4002 and 27017 are not used by any application.
- Download and install MongoDB Command Line Database Tools on your local machine.
- Add MongoDB Command Line Database Tools folder to
Path
environment variable in your local machine. - Download movinin-db.zip down to your local machine and unzip it.
- Run the compose:
docker compose up
- Go to movinin-db folder and restore the demo database with the following command: Replace
mongorestore --verbose --drop --gzip --host=127.0.0.1 --port=27017 --username=admin --password=$PASSWORD --authenticationDatabase=admin --nsInclude="movinin.*" --archive=movinin.gz
$PASSWORD
with your MongoDB password set in your docker-compose.yml - Get API Docker container name with the following command:The name should be something like this:
docker container ls
src-mi-api-1
- Go to movinin-db/cdn folder and copy the content of the folder in API container with the following commands: Replace
docker cp ./cdn/users src-mi-api-1:/var/www/cdn/movinin docker cp ./cdn/properties src-api-1:/var/www/cdn/movinin
src-api-1
with your API container name. - Go to the backend http://localhost:3001 and login with the following credentials:
Username: admin@movinin.io
Password: M00vinin - Go to the frontend http://localhost and login with the following credentials:
Username: jdoe@movinin.io
Password: M00vinin
Copyright © Akram El Assas. All rights reserved.
- Overview
- Software Architecture
- Install Guide (Self-hosted)
- Install Guide (Docker)
- Free SSL Setup Guide
- Setup Sentry
- Payment Gateways
- Setup Stripe
- Social Login Setup Guide
- Build Mobile App
- Demo Database
- Run from Source
- Run from Source (Docker)
- Run Mobile App
- Fork, Customize, and Sync
- Locations
- Auto‐Notification System
- Add New Language
- Add New Currency
- Logs
- Testing
- FAQ
- Release Notes
- Contribution Guide
- Code of Conduct