Skip to content

Version 4 of a copypaste tool, using Node.js with Express and MongoDB.

License

Notifications You must be signed in to change notification settings

Torniojaws/paste4

Repository files navigation

GitHub version Build Status Coverage Status

Paste 4.0

Version 4 of the copypaste tool for personal notes, etc.

Stack

  • MongoDB
  • Express.js
  • Node.js
  • Ubuntu

Tools

  • Ansible

Install

  1. Install Ansible, if not yet installed: sudo add-apt-repository ppa:ansible/ansible && sudo apt update && sudo apt install ansible
  2. git clone https://github.com/Torniojaws/paste4.git
  3. cd paste4/
  4. Run make to deploy the project (using Ansible, see: deployment)
  5. Once the deployment is ready, start the project with npm start
  6. Then browse to: http://localhost:3000/

Notes

Do not update mongoose to version between 5.5.0 and 5.6.4. It breaks in Travis CI. Version 5.4.23 is the newest one that works.

Tests

For testing, Mocha and Chai are used. You can run the tests with npm test If you want to check the DB manually, use: mongo --host 127.0.0.1:27017

About

Version 4 of a copypaste tool, using Node.js with Express and MongoDB.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published