Skip to content

wjr1985/teaas_puma_example

Repository files navigation

teaas_puma_example

An example Puma app that demonstrates the functionality of Teaas. This project will tend to use experimental / testing branches of Teaas - check the Gemfile if you're worried about using experimental features.

To run this:

  • Download or install ImageMagick. On Ubuntu, you can run sudo apt-get install libmagickwand-dev. If you're using homebrew, you can run brew install imagemagick@6.
  • bundle install (or PKG_CONFIG_PATH=/usr/local/opt/imagemagick@6/lib/pkgconfig bundle install if using homebrew on a Mac)
  • bundle exec ruby main.rb

Works fine on a VPS. I'm currently using a 1 CPU, 1GB RAM VPS, so if you can find something similar, it should work without issue.

Questions / PRs

Questions and/or PRs are more than welcome. If there is a bug when it comes to an image not being processed correctly, please submit an issue on Teaas instead.

Credits

The file upload button is based on this awesome gist by davist11. Thanks crookedneighbor for making the interface a lot nicer and other contributions Thanks jackellenberger for redesigning the results page and adding some awesome Slack functionality

License

It's MIT. See the LICENSE file.

About

An example Ruby / Sinatra app using Puma for teaas

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors