Member Service API is a Rails 5 application designed to serve ntriple files.
Member Service API requires the following
Setup the main application repository:
git clone https://github.com/ukparliament/member-service-api.git
cd member-service-api
bundle install
cp .env.sample .env
Within the .env
file, you will need to specify the UKPDS_DATA_ENDPOINT
value. Without this, the application will not run successfully. The
We recommend running the application through docker. With docker installed on your machine, run:
make build
make dev
make build
creates a docker image on your machine
make dev
runs the application and attaches the current directory into the docker container. This means updates you make to the views and contollers will be automatically reflected.
If you wish to submit a bug fix or feature, you can create a pull request and it will be merged pending a code review.
- Fork the repository
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request
Member Service API is licensed under the Open Parliament Licence.