Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/craigfoote/ca.footeware.rest.recipes
https://github.com/craigfoote/ca.footeware.rest.recipes
Last synced: 7 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/craigfoote/ca.footeware.rest.recipes
- Owner: CraigFoote
- Created: 2022-12-07T23:55:45.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-10T22:02:35.000Z (2 months ago)
- Last Synced: 2024-09-11T02:28:54.890Z (2 months ago)
- Language: Java
- Size: 126 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
body {
background-color: #2c2c2c;
}
h1,h2,h3 {
color: #5d85df;
}
li {
font-family: 'FiraCode Nerd Font Light';
font-size: 18px;
color: #dddddd;
}
code {
color: #dbc41c;# Preparation
1. `docker network create recipes-network`
1. `sudo mkdir -p /opt/mongodb/data`
1. `sudo chmod 777 /opt/mongodb/data`
1. `docker run -d --name mongodb -p 27017:27017 --network recipes-network -v /opt/mongodb/data:/data/db mongo:latest`
1. populate mongodb using Mongo Compass
1. `sudo mkdir -p /opt/mongodb/data`
1. `sudo chmod -R 777 /opt/rest.recipes/`# Development
1. `mvn clean package`
1. `docker run -d --name rest.recipes -p 9000:9000 --network recipes-network -v /opt/rest.recipes/logs:/opt/rest.recipes/logs -t rest.recipes:[version]`
1. `curl -v -u craig -i 'http://localhost:9000/recipes?pageNumber=0&pageSize=10'`# Release
1. commit changes to git and create tag [version]
1. `docker tag rest.recipes:[version] craigfoote/rest.recipes:[version]`
1. `docker push craigfoote/rest.recipes:[version]`
1. `docker tag rest.recipes:[version] craigfoote/rest.recipes:latest`
1. `docker push craigfoote/rest.recipes:latest`