Giter Site home page Giter Site logo

kranzky / megahal-server Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 3.0 463 KB

A Rails server that allows users to chat with MegaHAL

Home Page: http://megahal.kranzky.com

License: The Unlicense

Ruby 71.84% JavaScript 6.42% CSS 0.19% HTML 15.94% Dockerfile 4.87% Shell 0.58% Procfile 0.16%

megahal-server's Introduction

Fly Deploy

MegaHAL Server

MegaHAL Server is a Rails server that allows users to chat with MegaHAL, a learning chatterbot.

You can chat with MegaHAL online right now!

MegaHAL Server Demo

Setup

This will install redis and flyctl, along with the various Ruby gems, assuming you're running rvm or similar.

> brew bundle
> rvm use `cat .ruby-version`@`cat .ruby-gemset`
> bundle install

Development

Running the ./bin/dev script will start the Rails server and will start the ./bin/megahal-server script as well, which should be enough to get things up-and-running on your local machine.

Deployment

I deploy to fly.io with a GitHub action which does the following:

> fly deploy --remote-only

You can run MegaHAL on the free tier, but there is some additional configuration that needs to be done (for example, you will need to launch a redis instance too, using the configuration in the redis directory, you will need to attach a persistent storage volume, and you'll need to define the REDIS_URL and MOUNT_PATH secrets too). Look at the fly.toml configuration files for details.

Copyright

Copyright (c) 2014-2022 Jason Hutchens. See UNLICENSE for further details.

megahal-server's People

Contributors

kranzky avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar James Cloos avatar  avatar

megahal-server's Issues

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.