CommentP is an inline commenting platform
Latest master is running on http://commentp.com/
The only supported method right now is developing with OSX and any docker supported linux Distro (like ubuntu).
Docker does not work out of the box with OSX, that's why we use boot2docker
.
Grab your copy @ http://boot2docker.io/ and follow installation @ https://docs.docker.com/installation/mac/.
Also install docker-compose
: https://docs.docker.com/compose/install/
Instead of using VirtualBox with slow and buggy file-system support we use Parallels:
The best method to get Docker working with OSX is using the following boot2docker image with parallels: https://github.com/Parallels/boot2docker-vagrant-box
- Make sure you have parallels installed
- run
vagrant plugin install vagrant-parallels
- It's possible that this fails and you have to install additional ruby libraries (should be visible in the given error)
- run
vagrant up --provider parallels
Export all needed variables for the docker client (or use $(./setup-env.sh)
)
Commentp uses a custom base-image with bundled Java (7) and a prepared Environment. The Dockerfile is included in this repository and will also be used for development in the future.
To build a new Version you need to have a local docker
client running:
./build-docker.sh
export FLEETCTL_TUNNEL=$COREOS_CLOUD_IP
eval `ssh-agent`
ssh-add ~/.ssh/id_rsa
npm test
will execute all unit tests and writes junit output and coverage-reportnpm run tdd
will start tests in tdd modenpm run dist
will build frontend bundle