https://github.com/resource-watch/prep-api
Administrator and API for PREP application
https://github.com/resource-watch/prep-api
Last synced: 2 months ago
JSON representation
Administrator and API for PREP application
- Host: GitHub
- URL: https://github.com/resource-watch/prep-api
- Owner: resource-watch
- License: mit
- Created: 2016-06-10T07:59:55.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2021-02-24T12:48:29.000Z (over 4 years ago)
- Last Synced: 2025-02-17T23:09:43.178Z (5 months ago)
- Language: Ruby
- Homepage:
- Size: 6.24 MB
- Stars: 1
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Administrator and API for [PREP application](https://github.com/resource-watch/prep-app)
[](https://travis-ci.com/resource-watch/prep-api)
[](https://codeclimate.com/github/resource-watch/prep-api/test_coverage)
## Install
Requirements:
* NodeJS
* Ruby 2.4.1
* YarnThe app rides on [Ruby on Rails](http://rubyonrails.org).
Clone repo:
```bash
$ git clone https://github.com/resource-watch/prep-api
$ cd prep-manager
```We recommend managing your Ruby installation through
[rbenv](https://github.com/sstephenson/rbenv). It's just an easy way to
run multiple Ruby versions for different applications:```bash
$ rbenv install 2.4.1
$ rbenv local 2.4.1
```Install gem dependencies using [Bundler](http://bundler.io/)
```bash
$ bundle install
```Set up database:
```bash
$ rake db:create
$ rake db:migrate
$ rake db:seed
```## Usage
Duplicate `.env.sample`, rename to `.env` and finally set your options in that file.
After install it, we can run server runing:
```bash
bundle exec rails server
```## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b feature/my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin feature/my-new-feature`
5. Submit a pull request :D## LICENSE
[MIT](LICENSE)