How to create clone database for ataglance instance?

Please follow the steps for creating clone database for ataglance instance.

Install Python Separately

  1. Download the python 3.5+

    1. Window or MacOS latest version of Python.

    2. Linux or Ubuntu

      sudo apt-get install python.
  2. Run the installer file and follow the steps to install Python
    During the install process, check Add Python to environment variables. This will add Python to environment variables, and you can run Python from any part of the computer.

    Also, you can choose the path where Python is installed. Installing Python on the computer

Once you finish the installation process, you can run Python.

3. You can check the python version in your terminal.

c:\Users\dell>python

 

Run the python clone database script

  1. Open terminal and download or clone

    1. git clone https://bitbucket.org/nimblebydesign/test-automation.git

    2. checkout the clone-database-for-ataglance

      git checkout clone-database-for-ataglance
  2. Go to on project folder directory and open conn.py file here you can change mongo connections details in mongo_connection method

3. After changes open command terminal and run the file.

4. This will take few minutes for dump db and rename the developers name.

Â