Code Monkey home page Code Monkey logo

Build Status API Docs Coverage Status

README

This is the API only backend application for Exchange. It is prepared to be deployed on OpenShift online using 3 pods (React frontend, this backend, database)

It has been developed using:

  • Ruby 2.4
  • Rails 5.1 (API MODE)
  • Devise
  • Tiddle
  • Octokat

Getting Help

If you find a bug, please report an Issue and see our contributing guide.

If you have a question, please post to Stack Overflow.

Thanks!

Documentation

If you're reading this at https://github.com/ManageIQ-Exchange/manageiq-exchange you are reading documentation for our master, which is not yet released.

ENVIRONMENT VARIABLES

Oauth for connecting to github

  • GITHUB_OAUTH_ID
  • GITHUB_OAUTH_SECRET

Base secret:

  • SECRET_KEY_BASE

Rails config

  • RAILS_ENV
  • RAILS_LOG_TO_STDOUT

Devise

  • EXCHANGE_MAILER_HOST
  • EXCHANGE_MAILER_PORT
  • EXCHANGE_EMAIL_SENDER

Docker configuration to test ManageIq-Exchange

First you need to create the directory postgres-exchange-data on the same level of the docker-compose file. In this directory we'll store all database information from our postgres docker.

Remember set GITHUB_OAUTH_ID,GITHUB_OAUTH_SECRET in docker-compose file

docker-compose build
docker-compose up

In your first build you will need to create the database so...

docker-compose run --rm exchange bash

rails db:create db:migrate

You will see a prompt like root@64bfb5e14bb5:/app#`, this means that you are inside the docker. Execute:

bundle
rails db:create db:migrate
exit

You will see some querys, after that you can go to http://localhost:3000/ and test ManageIQ-Exchange

To stop environment you can use CTRL+C and docker-compose down

You can restore the environment with docker-compose up next time without recreate database.

If you wanna remove the database and start again you only need to remove all content in /docker-compose down/*

Developer documentation

Please review Developers Guide

ManageIQ Exchange's Projects

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.