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)
If you have a question, please post to Stack Overflow.
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.
Oauth for connecting to github
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.
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
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
Please review Developers Guide