Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dennis-every/weblog
Test drive Docked Rails CLI
https://github.com/dennis-every/weblog
Last synced: about 1 month ago
JSON representation
Test drive Docked Rails CLI
- Host: GitHub
- URL: https://github.com/dennis-every/weblog
- Owner: dennis-every
- Created: 2023-09-19T14:08:39.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-20T15:26:38.000Z (over 1 year ago)
- Last Synced: 2024-11-20T23:00:53.269Z (about 2 months ago)
- Language: Ruby
- Size: 26.4 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# README
- Works like a charm
- Follow this: https://github.com/rails/docked
- Visit: http://localhost:3000/posts# Alternatively use a Dockerfile
- Add the Dockerfile to the root path
- Build the image
- `docker build -t weblog .`
- Run the image in a container with rails server
- `docker run --rm -it -v ${PWD}:/rails -v ruby-build-cache:/bundle -p 3000:3000 weblog rails server`
- Open rails console in this container
- `docker exec -it rails console`