Skip to content

Running Pre built Image

n10n edited this page Nov 5, 2016 · 20 revisions

The Synereo Social Platform

[WARNING]

This is an experimental, pre-release software and should be used for testing purposes only. While the software is in pre-release phase, there is a high likelihood of data loss and features will change without notice.

Prerequisites

  • Gmail (Google's mail) based valid email address for sending validation code for new users

  • Basic knowledge of Docker

    • New users should start here
  • A machine capable of running Docker, with at least 4 GB RAM (> 8 GB recommended)

    • For Linux users, installation information is available here
    • For Mac users, system requirements and installation information is available here
    • For Windows users, system requirements and installation information is available here or you can try using Docker Tool Box available here (This includes Kitematic, UI interface to mange images and containers)

    [CAUTION] Based on our experience, Docker may not perform as intented on Windows 7 home version machines

Installation

Please make sure Docker is running and open command prompt for Docker ("CLI", Kitematic -> "Docker CLI" lower left hand corner). You may need "sudo" permission to run the commands below.

Build docker image using

# docker pull livelygig/gloseval

It will download approximately 2 GB of data.

Running standalone node

After the build completes, run the following command (First time usage) to create a Docker container named synereo-node-01:

(Please update EMAIL_AUTH_USERNAME, EMAIL_AUTH_PASSWORD and EMAIL_FROM_ADDRESS below with Gmail based email id and this is prerequisite. The password is clear text at this moment and we will provide flexibility in coming days)

# docker run -itd -p 443:9876 -e EMAIL_AUTH_USERNAME=[change_me] -e EMAIL_AUTH_PASSWORD=[change_me] -e EMAIL_FROM_ADDRESS=[chamge_metoo]@gmail.com -h mynodehost --dns 8.8.8.8 --name synereo-node-01 livelygig/gloseval

For example - EMAIL_AUTH_USERNAME=s52.38.13.42, EMAIL_AUTH_PASSWORD=donttrythis and EMAIL_FROM_ADDRESS=[email protected]

Accessing the Synereo Social Platform

To access the application, you must first know Docker IP address and default installation on different OS has the following IP's:

OS Docker Version Default IP
Mac OSX Prior 1.12 alpha 192.168.99.100
Mac OSX 1.12 alpha 127.0.0.1 or localhost
Windows 8/8.1 - 192.168.99.100 or localhost
Windows 10 - 192.168.99.100 or locahost
Linux - 172.17.0.1

You can then access the application with your web browser at:

https://<IP address>/ for example: https://192.168.99.100/ or https://172.17.0.1/ or https://localhost/

NOTE: When accessing the application for the first time, your browser will warn you that the site is insecure. This happens because the pre-release version of this software uses a self-signed TLS certificate. You should follow your browser's instructions about approving the site's certificate (Usually, click to "Advanced" option and accept the certificate).

Congratulations!, you can now log in using the administrator account:

Username Password
admin@localhost a

The default username is [admin@localhost]
The default password is [a]

After successful login, there may be a delay before you can see blockchain wallet address in "About" screen.

NOTE: This username and password can be changed by editing the eval.conf file inside the running container. Information on how to do this will be made available shortly.

Stopping the Container

To stop the container:

# docker stop synereo-node-01

General Usage

To restart the container:

# docker start synereo-node-01

Further Help

Please visit the #docker-testing channel on our Slack.