Commit 5576ed1c authored by sebastien letort's avatar sebastien letort

No more rails directory.

parent d35e14bd
{
"directory": "/opt/bower_components"
}
Dockerfile*
.git
.*.swo
.*.swp
.DS_Store
.vagrant
*.rbc
*.sassc
.sass-cache
capybara-*.html
.rspec
.rvmrc
.bundle
vendor/bundle
log
log/*
tmp/
tmp/*
db/*.sqlite3
public/system/*
coverage/
spec/tmp/*
**.orig
rerun.txt
pickle-email-*.html
.project
dump.rdb
app/assets/dockers
app/assets/dockers/*
app/assets/stylesheets/theme/
public/app/*
db/backup/*
public/datastore
.settings/
.vagrant/
deploy/.vagrant/
deploy/atom
deploy/debian-jessie
.keep
*.keep
doing.txt
active_admin.rb.old
vendor/assets/components/*
deploy/nginxconf
public/assets
.*.sw[po]
FROM allgo/base-debian
# configure the node reporisory
# http://linuxbsdos.com/2017/06/26/how-to-install-node-js-lts-on-debian-9-stretch/
RUN apt-getq install curl gnupg ca-certificates &&\
curl -sL https://deb.nodesource.com/setup_8.x | bash -
# install system packages + bower
RUN apt-getq install mariadb-client libmariadb-client-lgpl-dev-compat \
redis-server curl imagemagick git ca-certificates \
gcc g++ make libc6-dev file libffi-dev libgdbm-dev libgmp-dev \
libncurses5-dev libncursesw5-dev libreadline6-dev libssl-dev \
libyaml-dev openssl procps systemtap-sdt-dev zlib1g-dev \
nodejs npm supervisor nginx-light zip \
&& ln -s /usr/bin/nodejs /usr/local/bin/node \
&& npm install -g bower
# build & install ruby
ENV PATH="/opt/ruby/bin:$PATH"
COPY deploy/docker/ruby /tmp/ruby
RUN apply-patches /tmp/ruby/*.diff &&\
useradd -m -s /bin/bash allgo &&\
chown allgo: /opt &&\
su allgo -c 'sh /tmp/ruby/install.sh'
# install ruby gems
COPY Gemfile* /tmp/
RUN cd /tmp && chown allgo: /tmp/Gemfile* && su allgo -c "bundle install"
# install bower modules under /opt/bower_components
# (so that they are located in the docker image, even when /opt/allgo is mounted from an external volume)
COPY bower.json .bowerrc /tmp/
RUN mkdir /opt/bower_components &&\
chown allgo: /opt/bower_components &&\
cd /tmp && su allgo -c "bower install"
# install allgo sources + run setup script
COPY . /opt/allgo
RUN sh /opt/allgo/deploy/docker/setup/setup.sh
USER allgo
WORKDIR /opt/allgo
CMD ["run-allgo"]
LABEL dk.migrate_always=1
This diff is collapsed.
GIT
remote: https://github.com/mbleigh/acts-as-taggable-on.git
revision: 8e64c3d4a81cfbb8af621228eae36a65c1f94501
specs:
acts-as-taggable-on (4.0.0)
activerecord (>= 4.0)
GIT
remote: https://github.com/plataformatec/devise.git
revision: 2cf18f99e040853db587a3acdaf6c91737a1fa1c
branch: master
specs:
devise (4.4.3)
bcrypt (~> 3.0)
orm_adapter (~> 0.1)
railties (>= 4.1.0, < 6.0)
responders
warden (~> 1.2.3)
GIT
remote: https://github.com/sinatra/sinatra.git
revision: af6dad2a6c31e31617712b15f455b2a3d3eb1c06
specs:
rack-protection (2.0.0.beta2)
rack
sinatra (2.0.0.beta2)
mustermann (= 1.0.0.beta2)
rack (~> 2.0)
rack-protection (= 2.0.0.beta2)
tilt (~> 2.0)
GEM
remote: https://rubygems.org/
specs:
actioncable (5.0.7)
actionpack (= 5.0.7)
nio4r (>= 1.2, < 3.0)
websocket-driver (~> 0.6.1)
actionmailer (5.0.7)
actionpack (= 5.0.7)
actionview (= 5.0.7)
activejob (= 5.0.7)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.0.7)
actionview (= 5.0.7)
activesupport (= 5.0.7)
rack (~> 2.0)
rack-test (~> 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.0.7)
activesupport (= 5.0.7)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.0.7)
activesupport (= 5.0.7)
globalid (>= 0.3.6)
activemodel (5.0.7)
activesupport (= 5.0.7)
activerecord (5.0.7)
activemodel (= 5.0.7)
activesupport (= 5.0.7)
arel (~> 7.0)
activesupport (5.0.7)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 0.7, < 2)
minitest (~> 5.1)
tzinfo (~> 1.1)
addressable (2.4.0)
arel (7.1.4)
ast (2.3.0)
autoprefixer-rails (6.5.0.2)
execjs
axiom-types (0.1.1)
descendants_tracker (~> 0.0.4)
ice_nine (~> 0.11.0)
thread_safe (~> 0.3, >= 0.3.1)
bcrypt (3.1.11)
better_errors (2.1.1)
coderay (>= 1.0.0)
erubis (>= 2.6.6)
rack (>= 0.9.0)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
bootstrap-sass (3.3.7)
autoprefixer-rails (>= 5.2.1)
sass (>= 3.3.4)
bower-rails (0.11.0)
brakeman (3.4.0)
builder (3.2.3)
bullet (5.4.2)
activesupport (>= 3.0.0)
uniform_notifier (~> 1.10.0)
capistrano (2.15.5)
highline
net-scp (>= 1.0.0)
net-sftp (>= 2.0.0)
net-ssh (>= 2.0.14)
net-ssh-gateway (>= 1.1.0)
capybara (2.10.0)
addressable
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
xpath (~> 2.0)
client_side_validations (9.0.1)
jquery-rails (~> 4.2)
js_regex (~> 1.2)
rails (~> 5.0.0, >= 5.0.0.1)
climate_control (0.0.3)
activesupport (>= 3.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
code_analyzer (0.4.7)
sexp_processor
codeclimate-engine-rb (0.3.1)
virtus (~> 1.0)
coderay (1.1.1)
coercible (1.0.0)
descendants_tracker (~> 0.0.1)
coffee-rails (4.2.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.2.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
colorize (0.8.1)
concurrent-ruby (1.0.5)
connection_pool (2.2.0)
crass (1.0.4)
cucumber (2.4.0)
builder (>= 2.1.2)
cucumber-core (~> 1.5.0)
cucumber-wire (~> 0.0.1)
diff-lcs (>= 1.1.3)
gherkin (~> 4.0)
multi_json (>= 1.7.5, < 2.0)
multi_test (>= 0.1.2)
cucumber-core (1.5.0)
gherkin (~> 4.0)
cucumber-wire (0.0.1)
daemons (1.2.4)
debug_inspector (0.0.2)
descendants_tracker (0.0.4)
thread_safe (~> 0.3, >= 0.3.1)
diff-lcs (1.2.5)
equalizer (0.0.11)
erubis (2.7.0)
eventmachine (1.2.0.1)
execjs (2.7.0)
factory_girl (4.7.0)
activesupport (>= 3.0.0)
factory_girl_rails (4.7.0)
factory_girl (~> 4.7.0)
railties (>= 3.0.0)
faker (1.6.6)
i18n (~> 0.5)
ffi (1.9.14)
flay (2.8.1)
erubis (~> 2.7.0)
path_expander (~> 1.0)
ruby_parser (~> 3.0)
sexp_processor (~> 4.0)
flog (4.4.0)
path_expander (~> 1.0)
ruby_parser (~> 3.1, > 3.1.0)
sexp_processor (~> 4.4)
font-awesome-rails (4.7.0.1)
railties (>= 3.2, < 5.1)
gherkin (4.0.0)
globalid (0.4.1)
activesupport (>= 4.2.0)
highline (1.7.8)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
ice_nine (0.11.2)
jbuilder (2.6.0)
activesupport (>= 3.0.0, < 5.1)
multi_json (~> 1.2)
jquery-fileupload-rails (0.4.7)
actionpack (>= 3.1)
railties (>= 3.1)
sass (>= 3.2)
jquery-rails (4.2.2)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
js_regex (1.2.1)
regexp_parser (>= 0.3.6, <= 0.4.2)
json (1.8.6)
kgio (2.10.0)
launchy (2.4.3)
addressable (~> 2.3)
listen (3.0.8)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
logstash-event (1.2.02)
logstasher (1.0.1)
activerecord (>= 4.0)
activesupport (>= 4.0)
logstash-event (~> 1.2.0)
request_store
loofah (2.2.2)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.0)
mini_mime (>= 0.1.1)
method_source (0.9.0)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mimemagic (0.3.2)
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitest (5.11.3)
multi_json (1.12.1)
multi_test (0.1.2)
mustermann (1.0.0.beta2)
mysql2 (0.4.4)
net-scp (1.2.1)
net-ssh (>= 2.6.5)
net-sftp (2.1.2)
net-ssh (>= 2.6.5)
net-ssh (3.2.0)
net-ssh-gateway (1.2.0)
net-ssh (>= 2.6.5)
nio4r (2.3.0)
nokogiri (1.8.2)
mini_portile2 (~> 2.3.0)
orm_adapter (0.5.0)
paperclip (5.1.0)
activemodel (>= 4.2.0)
activesupport (>= 4.2.0)
cocaine (~> 0.5.5)
mime-types
mimemagic (~> 0.3.0)
parser (2.3.1.2)
ast (~> 2.2)
path_expander (1.0.0)
rack (2.0.4)
rack-cors (0.4.0)
rack-test (0.6.3)
rack (>= 1.0)
rack-utf8_sanitizer (1.3.2)
rack (>= 1.0, < 3.0)
rails (5.0.7)
actioncable (= 5.0.7)
actionmailer (= 5.0.7)
actionpack (= 5.0.7)
actionview (= 5.0.7)
activejob (= 5.0.7)
activemodel (= 5.0.7)
activerecord (= 5.0.7)
activesupport (= 5.0.7)
bundler (>= 1.3.0)
railties (= 5.0.7)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.4)
loofah (~> 2.2, >= 2.2.2)
rails_best_practices (1.17.0)
activesupport
code_analyzer (>= 0.4.3)
erubis
i18n
json
require_all
ruby-progressbar
railties (5.0.7)
actionpack (= 5.0.7)
activesupport (= 5.0.7)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rainbow (2.1.0)
raindrops (0.17.0)
rake (12.3.1)
rb-fsevent (0.9.7)
rb-inotify (0.9.7)
ffi (>= 0.5.0)
rdoc (4.2.2)
json (~> 1.4)
redcarpet (3.3.4)
redis (3.3.1)
reek (4.4.2)
codeclimate-engine-rb (~> 0.3.1)
parser (~> 2.3.1, >= 2.3.1.2)
rainbow (~> 2.0)
regexp_parser (0.4.2)
request_store (1.3.1)
require_all (1.3.3)
responders (2.4.0)
actionpack (>= 4.2.0, < 5.3)
railties (>= 4.2.0, < 5.3)
rspec-core (3.5.4)
rspec-support (~> 3.5.0)
rspec-expectations (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-mocks (3.5.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.5.0)
rspec-rails (3.5.2)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
rspec-core (~> 3.5.0)
rspec-expectations (~> 3.5.0)
rspec-mocks (~> 3.5.0)
rspec-support (~> 3.5.0)
rspec-support (3.5.0)
ruby-progressbar (1.8.1)
ruby_parser (3.8.2)
sexp_processor (~> 4.1)
rubycritic (2.9.4)
colorize
flay (~> 2.8)
flog (~> 4.4)
launchy (= 2.4.3)
parser (= 2.3.1.2)
reek (~> 4.4)
ruby_parser (~> 3.8)
virtus (~> 1.0)
sass (3.4.22)
sass-rails (5.0.6)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sdoc (0.4.2)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
sexp_processor (4.7.0)
sidekiq (4.1.4)
concurrent-ruby (~> 1.0)
connection_pool (~> 2.2, >= 2.2.0)
redis (~> 3.2, >= 3.2.1)
sinatra (>= 1.4.7)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
thin (1.7.0)
daemons (~> 1.0, >= 1.0.9)
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.5)
traceroute (0.5.0)
rails (>= 3.0.0)
turbolinks (5.0.1)
turbolinks-source (~> 5)
turbolinks-source (5.0.0)
tzinfo (1.2.5)
thread_safe (~> 0.1)
uglifier (3.0.2)
execjs (>= 0.3.0, < 3)
unicorn (5.1.0)
kgio (~> 2.6)
raindrops (~> 0.7)
uniform_notifier (1.10.0)
virtus (1.0.5)
axiom-types (~> 0.1)
coercible (~> 1.0)
descendants_tracker (~> 0.0, >= 0.0.3)
equalizer (~> 0.0, >= 0.0.9)
warden (1.2.7)
rack (>= 1.0)
web-console (3.4.0)
actionview (>= 5.0)
activemodel (>= 5.0)
debug_inspector
railties (>= 5.0)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
xpath (2.0.0)
nokogiri (~> 1.3)
PLATFORMS
ruby
DEPENDENCIES
acts-as-taggable-on!
bcrypt
better_errors
binding_of_caller
bootstrap-sass (~> 3.3)
bower-rails
brakeman
bullet
capistrano (= 2.15.5)
capybara
client_side_validations
coffee-rails
cucumber
devise!
factory_girl_rails
faker
font-awesome-rails
jbuilder
jquery-fileupload-rails
listen (~> 3.0.5)
logstasher
mysql2
paperclip
rack-cors
rack-utf8_sanitizer
rails (>= 5.0, < 5.1)
rails_best_practices
rake
redcarpet
redis
rspec-rails
rubycritic
sass-rails (~> 5.0)
sdoc
sidekiq
sinatra!
thin
traceroute
turbolinks
uglifier
unicorn
web-console
RUBY VERSION
ruby 2.5.1p57
BUNDLED WITH
1.16.1
This diff is collapsed.
_
_ | | _____ ____
/\ | | | | / ____|/ __ \
/ \ | | | | | | __| | | |
/ /\ \ | | | | | | |_ | | | |
/ ____ \| |____ | | | |__| | |__| |
/_/ \_\______| | | \_____|\____/
|_|
#What is Allgo? (A||Go)
A || Go is a web infrastructure to put online quickly and easily possible software or scientific prototypes. The objective is to reduce the cost of transferring
the computer researcher to end users (team member, community
Scientific Startup SMEs, the general public).
Application deployment, and especially their uses are found in simplified. One can execute via the web interface or an HTTP API.
Technically, A||Go is based on the Ruby on Rails framework to provide the web interface and HTTP services REST. Use of Docker for managing application images.
Docker provides Linux containers to manage / store / apps we use host.
A job is the action to run an application, with one file or more, which will return a result.
---
If you want to contribute:
You can fork the project, create a branch and make a pull-request.
You can refeer to the gitlab issues.
Our main need is someone who know ruby on rails testing.
To deploy the test environment, you will need Vagrant.
Go in /deploy folder and run vagrant up, you don't need any particular software on your computer.
For more information on the infrastructure, you can refeer to the /doc folder.
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
Allgo::Application.load_tasks
// JS and CSS bundles, creates for sass 6 and polymerjs
//
//= link_directory ../javascripts .js
//= link_directory ../stylesheets .css
// link_directory ../../../vendor/assets/stylesheets .css
// link_directory ../../../vendor/assets/javascripts .js
// Images and fonts so that views can link to them
//
//= link_tree ../fonts
//= link_tree ../images
// This is a manifest file that'll be compiled into application.js, which will include all the files
// listed below.
//
// Any JavaScript/Coffee file within this directory, lib/assets/javascripts, vendor/assets/javascripts,
// or vendor/assets/javascripts of plugins, if any, can be referenced here using a relative path.
//
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// compiled file.
//
// Read Sprockets README (https://github.com/sstephenson/sprockets#sprockets-directives) for details
// about supported directives.
//