Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tonybenoy/rusty-rest-api
https://github.com/tonybenoy/rusty-rest-api
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/tonybenoy/rusty-rest-api
- Owner: tonybenoy
- License: mit
- Created: 2021-08-10T09:59:04.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-09-21T10:08:10.000Z (about 3 years ago)
- Last Synced: 2024-05-02T02:19:46.065Z (6 months ago)
- Language: Rust
- Size: 21.5 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Animal insurance
## How to run server
I have the images tagged to my local registry so run a local registry as shown below. In case you don't want to run your own registry do change the image name to a non registry tag.
`docker run -d -p 5000:5000 --name registry registry:2`
## To run the server
```
docker-compose build
docker-compose push
docker-compose up
```## First Time setup
After first `docker-compose up` and run `cargo install diesel_cli --no-default-features --features postgres` and `diesel migration run`