-
Install Docker.app
-
gem install stack_car
-
We recommend committing .env to your repo with good defaults. .env.development, .env.production etc can be used for local overrides and should not be in the repo.
-
sc up
gem install stack_car
sc up
first make sure that you have docker installed. On Mac OS use docker for mac and on Windows use docker for windows.
Once you start it check the preferences and make sure that is has at least 3 gb of ram allocated to it.
make sure to login to docker login registry.gitlab.com
use your gitlab credentials to login.
- git clone the repo from https://gitlab.com/notch8/reumanager and switch to the v3 branch
- get a .env file for the project from someone on the team
- run
docker-compose pull web
- run
docker-compose up
once you have the containers up and running - run
docker-compose exec web bash
this will give you a console in the container running rails - run
rails db:create db:migrate db:seed
in the container - in a browser go to test.lvh.me:3000
to get to the new admin go to http://test.lvh.me:3000/reu_program/dashboard. the seeds setup a program admin for you. email: admin@test.com password: testing123
When creating a new instance of REU:
create a new branch that will be the 'master' of the new app
docker-compose build
sc up
docker-compose exec web bash
rake db:create db:migrate
rake db:seed settings:load
sc release {staging | production} # creates and pushes the correct tags
sc deploy {staging | production} # deployes those tags to the server
Releaese and Deployment are handled by the gitlab ci by default. See ops/deploy-app to deploy from locally, but note all Rancher install pull the currently tagged registry image NSF REU Manager
Use Ruby 2.1.1
Run '''rake settings:load''' to load snippets.
If you're having trouble with event_machine during bundle - use '''bundle config build.eventmachine --with-cppflags=-I$(brew --prefix openssl)/include'''
This program facilitates the application process for science oriented NSF REU programs and is developed by the IT staff of the UC San Diego Institute of Engineering in Medicine.
REU Manager is built with Ruby on Rails and is completely free to host/maintain yourself. You can see a demonstration of the site at: https://reumanager.com/new_demo . You may login as the administrative user with the email admin@reumanager.com and the password DemoApp.
Below are instructions for those who wish to install and maintain the application using their own equipment.
RAILS_ENV=production bundle exec rake assets:precompile RAILS_RELATIVE_URL_ROOT=/rqi
-
On the status page, it is noted that both of the recommendations have been received after only submitting one. Yet the application is still correctly filed under "Awaiting Recommendations" in the admin interface.
-
The administrators cannot access the attached transcript. I receive an error when I click the link, "Sorry, there was a problem...The page you requested was not found. Return to the home page"
-
Install Docker.app
-
Get .env file from team member or copy it from .env-example and fill it out
-
gem install stack_car
-
sc up
gem install stack_car
sc up
sc release {staging | production} # creates and pushes the correct tags
sc deploy {staging | production} # deployes those tags to the server
Releaese and Deployment are handled by the gitlab ci by default. See ops/deploy-app to deploy from locally, but note all Rancher install pull the currently tagged registry image