A collection of random images from the net - collected by Karl Øgaard (previously Ragnar Bergvik) and sent out each Friday to amuse their colleagues.
http://fredagsmoro.chrissearle.org
- npm
- a fairly recent ruby
- a valid fredagsmoro config in ~/.aws/credentials
Run:
npm install
You will need
- To have the correct dropbox folder shared (for receiving new images)
- Copy scripts/dropbox_sample.yml to scripts/dropbox.yml and set the fully specified path to the dropbox folder
- For docker packaging - a running local docker daemon
- For docker deployment - access to docker.home.chrissearle.org repository
npm run content:dropbox
- move files from Dropbox onto S3npm run content:data
- rebuild the data file from the data on S3npm run content:datapush
- push data file to S3npm run docker:build
- create the image (also runs webpack)npm run docker:deploy
- deploy the imagenpm run doit
- git pull, grab files, make all updates, commit & push, build image and deploy
npm run lint
- eslint the codenpm test
- run the mocha testsnpm run test:watch
- run the tests using a file watchernpm run test:coverage
- run the tests instrumented for coveragenpm run coverage:report
- generate an lcov report in ./coveragenpm run coverage:codecov
- send the report to codecov. Will only work from the travis-ci builds
Both test and lint should run green before committing since they will both cause a travis-ci fail otherwise
npm start
will start webpack-dev-server on port 8080