This repo contains the key components of CloudPebble as submodules. It also contains a
docker-compose
file that will assemble all of them into something that runs like a
real CloudPebble instance.
- Install Docker Toolbox (Mac, Windows), or otherwise get docker and docker-compose into a working state (Linux).
- Enter a shell with docker set up appropriately (e.g. via "Docker Quickstart Terminal")
git clone --recursive git@github.com:iSevenDays/cloudpebble-composed.git && cd cloudpebble-composed
- Open docker-compose.yml and set your local IP address from Network -> Settings (IMPORTANT)
./dev_setup.sh
(this will take a while)docker-compose up
- Register a local account at http://your_ip_address/accounts/register/
- Login with local account at http://your_ip_address/accounts/login/ (you have to login when the docker restarts)
At the end of this, you will have seven Docker containers running. The CloudPebble-specific ones
should pick up most changes without being rebuilt, although in some cases you may have to stop and
restart them (re-run docker-compose up
).
The current compose file assumes that the docker machine/VM is accessible at 192.168.99.100. This is true by default, but may not be true for you.
- Pebble SSO is not available; only local accounts work.
- Websocket installs are not available because pebble SSO is not available
- You'll have to change things manually if 192.168.99.100 isn't right.
Credits: A special thanks to https://www.reddit.com/r/pebble/comments/bza6yq/how_to_get_cloudpebble_working_on_a_local_computer/
If you want to try CloudPebble - you can check a free CloudPebble service http://dev.vsys.ml (it works as of September 26 2019)