Public API for VLCTechHub
- Clone the project
git clone [email protected]:VLCTechHub/VLCTechHub-api.git
- Install ruby 2.3.0 (you might want to install it with rbenv)
- Install mongo (optional, you can use a remote service)
- Install bundle & run
bundle install
- Build the project with
bundle exec rake build
- Configure your mongo connection uris in
.env
(not necesary if you use local mongo with default values) - Run
bundle exec rake up
- Visit
http://localhost:5000
- Run
bundle exec rake mongo:prepare
- Run
bundle exec rake test
- Install Docker Engine and Docker Compose.
- The first time you use it, you will need to build the containers:
docker-compose build
- To start the container, just use
docker-compose up
--