Decentralized-Sharing-Working-Group / cozy-clearance

Clearance manager for cozy apps
Other
1 stars 0 forks source link

Add MicroPub option #1

Open michielbdejong opened 9 years ago

michielbdejong commented 9 years ago

Starting to work on this in the 'micropub' branch.

When you run the cozy/full Docker image on a server, install the photos app, and then you can enter with docker exec -it <container-name> /bin/bash, and:

cd /usr/lib/cozy/apps/photos/node_modules
rm cozy-clearance
git clone https://github.com/Decentralized-Sharing-Working-Group/cozy-clearance.git
cd cozy-clearance
git checkout micropub
npm install
npm run build
npm install -g coffeegulp
npm install gulp
npm install gulp-wrap-commonjs
npm install gulp-compile-js
npm install gulp-concat
npm install gulp-uglify
coffeegulp
npm install mocha
npm install coffeescript
npm install should
npm install americano-cozy
npm test

There are some tests failing, not sure why.

Also haven't figured out yet how to make the changes show up.

michielbdejong commented 9 years ago

@Gara64 Do you know how these build steps should work for the cozy-clearance package?