Code Monkey home page Code Monkey logo

rory's Introduction

Rory is a tool for deploying artifacts to a server.

# Build and start the server
(cd rory; stack build; stack exec rory)

echo "hello" > /tmp/abc

curl -F xyz=@/tmp/abc http://localhost:3000

cat /tmp/upload
# Output: hello

Rory-server responds to SIGHUP by reloading the config file.

Log output goes to the systemd journal.

The name "Rory" has no meaning; I just happening to be watching The Gilmore Girls while I created this.

rory's People

Contributors

chris-martin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

rory's Issues

HTTP 400 error handling

e.g. currently we just take the head of the files list rather than checking that there is exactly one file.

Daemon commands

Depends on pid file (#12)

  • start - start a daemon if one doesn't exist
  • stop - send some kill signal (which one?)
  • restart
  • reload - send a HUP signal

Auth

The uploader should provide some auth token.

Bind address config

Currently defaults to port 3000 and idk what host.

Run with runSettings rather than run.

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.