Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/wshihadeh/three_methods_to_share_assets
Share Rails assets with Nginx
https://github.com/wshihadeh/three_methods_to_share_assets
assets docker nginx rails
Last synced: 2 months ago
JSON representation
Share Rails assets with Nginx
- Host: GitHub
- URL: https://github.com/wshihadeh/three_methods_to_share_assets
- Owner: wshihadeh
- Created: 2020-02-10T20:26:53.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T12:49:29.000Z (about 2 years ago)
- Last Synced: 2024-10-26T17:52:48.162Z (3 months ago)
- Topics: assets, docker, nginx, rails
- Language: Ruby
- Homepage:
- Size: 567 KB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 76
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# Serve Rails assets with Nginx
## How to deploy
# Option one
```bash
$> cd precompile_on_the_host
$> make config
$> make deploy
$> make stop
```# Option two
```bash
$> cd precompile_at_runtime
$> make deploy
$> make stop
```# Option three
```bash
$> cd precompile_during_docker_build
$> make deploy
$> make stop
```