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: 12 months ago
JSON representation

Share Rails assets with Nginx

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
```