Commit Graph

14 Commits

Author SHA1 Message Date
Henne Vogelsang
36b23ce25d Make use of ENV.fetch 2022-05-06 14:53:57 +02:00
Henne Vogelsang
e15fedd9b0 Add next_rails binstubs 2022-02-23 14:36:05 +01:00
Henne Vogelsang
10c6edcf8c Update to Rails 7 2022-02-22 19:22:25 +01:00
Henne Vogelsang
5b698f9a4a Drop guard/spring
No developer left using this...
2022-02-22 19:22:25 +01:00
Henne Vogelsang
d70687c9b9 Get rid of bin/osem-init.sh
Setting up the app if it isn't already setup should be some
concious step and not run every time we boot the containers.

This also fixes the problem that processes are not killed
if you stop the container with CTRL+C because the bash script
is not passing on signals.
2021-10-21 16:14:47 +02:00
Henne Vogelsang
7c1d3ce1c4 Run rails upgrade task
next bundle exec rails app:update
2021-08-18 15:36:54 +02:00
Henne Vogelsang
f8b7233404 Put database.yml into the code base
It works by default, we have a mechanism to configure it (dotenv.example)
and we want to be a 12factor app, right? Let's do this...
2018-09-20 11:33:57 -07:00
Henne Vogelsang
042d49619c Docker cleanups
- Put docker-compose.yml into version control, no need to make this an example
  file and complicate things.
- Start the docker dev-env osem on port 3000. Just as our documentation says
  and how we do it in vagrant.
- hardcode CONTAINER_USERID so you don't have to have an
  docker-compose.override.yml if your UID is 1000.
- Rename web service/container to osem for clarity in the logs
- Keep assets also in a volume in production
- warn a bit more prominently about docker-compose.override.yml
2018-09-14 23:28:26 +02:00
Henne Vogelsang
8fd3004d7f Introduces openSUSE based docker-compose environment 2018-09-11 00:10:42 +02:00
Henne Vogelsang
42e0b58161 Remove version suffix from binstubs
Binstubs are nice but not with openSUSE specific ruby binary names that
break on other environments.
2018-03-15 01:13:54 +01:00
AEtherC0r3
efaf07178f Upgrade to Rails 5
Update config with rails app:update
Update schema.rb rails db:migrate
Add puma
Make jobs and models inherit from ApplicationJob and ApplicationRecord
Update acts_as_list to 0.9.7 in order to fix
"undefined method `sanitize_sql_hash_for_conditions'" error
Update web-console to 2.3.0 to fix a 500 internal server error
Replace before_filter with before_action
Add rails-controller-testing gem
Add prepend: :true to protect_from_forgery in ApplicationController to
avoid ActionController::InvalidAuthenticityToken exceptions
Remove activeuuid
Update formtastic to 3.1.5 to fix deprecation warnings and issues
with the Input class
Update ahoy_matey to 1.6.0
Update cancancan to 2.0.0 to fix issues with malformed sql queries
Fix program spec
Fix issue with the picture being nil in admin/Organizations#new and #edit
and Organizations#show
Fix ActiveRecord::Base.raise_in_transactional_callbacks= deprecation
warning by removing an unnecessary line in application.rb
Fix failing versions specs
2017-12-11 20:58:04 +02:00
Aditya Prakash
67ac6f0d65 Update spring-commands-rspec and springify bin/rspec 2016-02-16 21:46:33 +05:30
Gopesh Tulsyan
c282f6c14e Delayed job integration done 2014-07-23 21:29:55 +05:30
KalabiYau
8848864d94 Rails 4 has different init script location we should conform 2014-04-24 21:41:53 +02:00