Git Product home page Git Product logo

activerecord-aurora-serverless-adapter's Introduction

CI Status

Activerecord::Aurora::Serverless::Adapter

Lamby: Simple Rails & AWS Lambda Integration using Rack.⚠️ WORK IN PROGRESS

Simple ActiveRecord MySQL adapter extensions to allow Rails to use AWS Aurora Serverless. Perfect if you are using Lamby to deploy your Rails applications to AWS Lambda.

Lamby: Simple Rails & AWS Lambda Integration using Rack.

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/customink/activerecord-aurora-serverless-adapter. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

Testing

Cloning the repo and running the tests locally is super easy assuming you have:

  1. Docker Installed
  2. AWS Account Configured

These commands will use Docker to setup a node runtime leveraging AWD CDK to deploy a Aurora Serverless stack. Note, you may be to use/set AWS_PROFILE for the deploy command.

$ ./bin/bootstrap
$ export AASA_MASTER_USER=admin
$ export AASA_MASTER_PASS=supersecret
$ ./test/bin/deploy-aurora

The outputs of this deployed stack will containt an AASASecretArn and a AASAAuroraClusterArn value. Please place these into the local .env file in the following format where {{ VALUE }} is replaced.

AASA_SECRET_ARN={{ VALUE:AASASecretArn }}
AASA_RESOURCE_ARN={{ VALUE:AASAAuroraClusterArn }}

Finally, assuming you have your default AWS account setup with full access to your account, now you can run the tests. Again, AWS_PROFILE can be used here and set in .env file as needed.

$ ./bin/test

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the Activerecord::Aurora::Serverless::Adapter project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

activerecord-aurora-serverless-adapter's People

Contributors

metaskills avatar

Watchers

 avatar  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.