Coder Social home page Coder Social logo

morsel's Introduction

Morsel

Purpose

During our day to day we create and run one time code snippets to solve a number of problems. Sometimes these problems come back with a vengeance. It's not always easy to find the scripts that were used for the problem, if they're found at all. Also many times there's not an easy way to comment on the solutions.

With this tool we can save our snippets and let us comment and collaborate on them

Requirements

  • MongoDB (2.4+)
  • Python (2.7)
  • Virtualenv / Virtualenv Wrapper

Installation

  • Start the MongoDB daemon

      $ mongod 
    
  • Clone HL Snippet

      $ git clone [email protected]:froi/morsel.git
    
  • Change to the directory

      $ cd morsel
    
  • Set up a virtual environment and activate it

      $ virtualenv env
      $ source env/bin/activate
    
  • Install Python requirements

      $ pip install -r requirements.txt
    
  • Copy the config.py.sample to config.py and change as required

      $ cp config.py.sample config.py
      $ vim config.py
    
  • Run the app

      $ python app.py
    

Point your browser to http://localhost:<port> and you're good to go.

Screenshots

Login page


Landing page


Add Snippet


Edit Snippet


View Snippet


Delete Snippet


Roadmap

  • Full Text Search
  • Version Control (big maybe)

morsel's People

Contributors

shrayasr avatar froi avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.