Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/resource-watch/prep-api
Administrator and API for PREP application
https://github.com/resource-watch/prep-api
Last synced: 2 days 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 (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-02-24T12:48:29.000Z (almost 4 years ago)
- Last Synced: 2024-12-26T21:08:38.852Z (about 2 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)