Skip to content

bjfish/rack-blog-oracle-db

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Rack Blog Oracle DB

This app demonstrates a blog app connect to an Oracle DB using:

  • rack
  • puma
  • nginx
  • ruby-oci8 gem

Use the Dockfile.rack in rails-docker-oracle for setup.

Run the example app

  1. bundle install
  2. bundle exec puma

Run on OCI with Dockerfile

  1. Follow the steps to run the rails example migrations.
  2. Clone this project into the Dockerfile.rack directory: git clone https://github.com/bjfish/rack-blog-oracle-db.git rackapp
  3. Configure user, password, and database_name in the config.ru file.
  4. Build: docker build -f Dockerfile.rack -t rbenv:rack .
  5. Run docker run -v /home/opc/wallet:/usr/lib/oracle/21/client64/lib/network/admin:Z,ro -d -p 3000:80 rbenv:rack

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages