-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'release-v0.8.0' into 'development'
Release v0.8.0 See merge request ComPlat/chemotion_ELN!1392
- Loading branch information
Showing
27 changed files
with
11,277 additions
and
11,202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
v12.21.0 | ||
v12.22.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,27 +64,9 @@ NB: | |
|
||
## Using Docker | ||
|
||
see online ![docs](https://www.chemotion.net/chemotionsaurus/docs/eln/docker_installation) | ||
|
||
|
||
This is a setup for a 'pseudo' production stage using passenger and aimed for user testing. | ||
(For the development environment, change 'RAILS_ENV' to 'development' in docker-compose.yml) | ||
**Make sure you have finished the BASIC SETUP FIRST** | ||
|
||
1. Build the image from Dockerfile `docker-compose build` or pull the image: `docker-compose pull` | ||
2. Initialize database FIRST: | ||
* `docker-compose run app bundle exec rake db:create` | ||
* `docker-compose run app bundle exec rake db:migrate` | ||
* `docker-compose run app bundle exec rake db:seed` (optional). A "seed" | ||
user will be inserted into the db with the information as below: [email protected] - password: "@eln.edu" | ||
* `docker-compose run app rake ketcherails:import:common_templates` (optional) | ||
3. Precompile assets: `docker-compose run app bundle exec rake assets:precompile` | ||
4. To start the server: `docker-compose up` or start server and detach: `docker-compose up -d` | ||
|
||
* Start interactive shell with docker: `docker-compose run app /bin/bash` | ||
* NOTE: In this Docker image, we disabled the email verification progress | ||
|
||
* To enable email confirmation, uncomment ":confirmable" at line 5 of `app/models/user.rb`, stop the `docker-compose` by `docker-compose stop` and start `docker-compose`. | ||
|
||
|
||
# Basic Development Setup | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
version: 0.7.1 | ||
version: 0.8.0-pre | ||
base_revision: e8f0a99c4d6d024499cdef3feda77ec0d2c2e760 | ||
current_revision: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# frozen_string_literal: true | ||
|
||
# copy favicon if not present in app | ||
favicon_example_file = Rails.public_path.join('favicon.ico.example') | ||
begin | ||
favicon_file = Rails.public_path.join('favicon.ico') | ||
`cp #{favicon_example_file} #{favicon_file}` unless File.exist?(favicon_file) | ||
favicon_file = Rails.public_path.join('images', 'favicon.ico') | ||
`cp #{favicon_example_file} #{favicon_file}` unless File.exist?(favicon_file) | ||
rescue | ||
end | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.