Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Header logos #1106

Merged
merged 5 commits into from Oct 4, 2017
Merged

Header logos #1106

merged 5 commits into from Oct 4, 2017

Conversation

loganfreeman
Copy link
Contributor

@loganfreeman loganfreeman commented Sep 1, 2017

manage logos images with environment variables.

  1. Usage:

add

institution_logo=/assets/uuhsc_logo_stacked-retina-color-trans.png
org_logo=/assets/uofu_logo_retina-color-trans.png

to .env file in root directory of deploy directory.

.env can be managed by capistrano.

  1. create a directory assets under public directory and add images in assets directory.

This can be done with capistrano.

to create symlink, just add this to cap deploy.rb

set :linked_dirs, fetch(:linked_dirs, []).push('log', 'tmp/pids', 'tmp/cache', 'tmp/sockets', 'public/system', 'public/assets', 'public/images')

@Stuart-Johnson
Copy link
Collaborator

@Stuart-Johnson Stuart-Johnson merged commit e8a9dfc into sparc-request:v3.0.0b Oct 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants