-
Get the latest version of docker. See the official site for installation info for your platform.
-
Install the latest version of docker-compose. Windows and Mac users should have docker-compose by default as it is part of Docker toolbox. For Linux users, see the official guide.
-
Run
dockeranddocker-composein terminal to see if they are properly installed. -
Clone the project and cd into it.
git clone https://github.com/fossasia/open-event-android.git && cd open-event-android- Then set the required
SERVER_NAMEenvironment variable.SERVER_NAMEshould the same as the domain on which the server is running and it should not include 'http', 'https', 'www' or the trailing slash (/) in the url. Examples -domain.com,sub.domain.com,sub.domain.com:5000etc
export SERVER_NAME=localhost;-
In the same terminal window, run
docker-compose buildto build Open Event Android App Generator's docker image. This process can take some time. -
After build is done, run
docker-compose upto start the server. -
Close the application's shell by
exitcommand. -
That's it. Go to
localhoston the web browser and Open Event Android App Generator will be live.
-
To update the Docker image with a more recent version of Open Event Android App Generator, you follow the same steps.
-
docker-compose buildfollowed bydocker-compose up. -
That should be all. Open
localhostin web browser to view the updated Open Event Android App Generator.
This guide was last checked with docker version 1.12.0 and docker-compose version 1.8.0 on a Ubuntu 14.04 x64 system.