-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1 from ghpsantos/master
Configuração Inicial do Projeto
- Loading branch information
Showing
69 changed files
with
7,010 additions
and
26 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,70 @@ | ||
# .gitignore for Grails 1.2 and 1.3 | ||
# Although this should work for most versions of grails, it is | ||
# suggested that you use the "grails integrate-with --git" command | ||
# to generate your .gitignore file. | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# web application files | ||
/web-app/WEB-INF/classes | ||
# User-specific stuff: | ||
.idea/workspace.xml | ||
.idea/tasks.xml | ||
.idea/dictionaries | ||
.idea/vcs.xml | ||
.idea/jsLibraryMappings.xml | ||
|
||
# default HSQL database files for production mode | ||
/prodDb.* | ||
# Sensitive or high-churn files: | ||
.idea/dataSources.ids | ||
.idea/dataSources.xml | ||
.idea/dataSources.local.xml | ||
.idea/sqlDataSources.xml | ||
.idea/dynamic.xml | ||
.idea/uiDesigner.xml | ||
|
||
# general HSQL database files | ||
*Db.properties | ||
*Db.script | ||
# Gradle: | ||
.idea/gradle.xml | ||
.idea/libraries | ||
|
||
# logs | ||
/stacktrace.log | ||
/test/reports | ||
/logs | ||
# Mongo Explorer plugin: | ||
.idea/mongoSettings.xml | ||
|
||
# project release file | ||
/*.war | ||
## File-based project format: | ||
*.iws | ||
|
||
# plugin release files | ||
/*.zip | ||
/plugin.xml | ||
## Plugin-specific files: | ||
|
||
# older plugin install locations | ||
/plugins | ||
/web-app/plugins | ||
# IntelliJ | ||
/out/ | ||
|
||
# "temporary" build files | ||
/target | ||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
|
||
# SVE user-especific configuration files | ||
.slcache/ | ||
.idea/ | ||
|
||
target/ | ||
test/unit/ | ||
test/integration/ | ||
grails-app/conf/hibernate/ | ||
grails-app/migrations/ | ||
grails-app/services/ | ||
grails-app/taglib/ | ||
grails-app/utils/ | ||
web-app/META-INF/ | ||
web-app/css/ | ||
web-app/images/ | ||
web-app/js/ | ||
.DS_Store | ||
.asscache | ||
|
||
.classpath | ||
.project | ||
ResiduosQuimicos-grailsPlugins.iml | ||
ResiduosQuimicos.iml | ||
grailsw | ||
grailsw.bat |
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,21 @@ | ||
language: groovy | ||
|
||
jdk: | ||
- oraclejdk7 | ||
|
||
before_script: | ||
- "export DISPLAY=:99.0" | ||
- "sh -e /etc/init.d/xvfb start" | ||
|
||
before_install: | ||
- curl -s get.sdkman.io | bash | ||
- source "$HOME/.sdkman/bin/sdkman-init.sh" | ||
- echo sdkman_auto_answer=true > ~/.sdkman/etc/config | ||
- source "/home/travis/.sdkman/bin/sdkman-init.sh" | ||
- sdk install grails 2.4.3 | ||
|
||
branches: | ||
only: | ||
- master | ||
|
||
script: grails -Dgeb.env=firefox test-app --non-interactive --stacktrace |
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,36 @@ | ||
# atec | ||
# atec | ||
|
||
grails version: 2.4.3 | ||
|
||
JDK 1.7.0_65 SDK 7 (1.8 Não funciona) | ||
|
||
Faça o download do chromedriver compatível com sua máquina e coloque ele na pasta chromedrivers. | ||
|
||
Em GebConfig.groovy setar caminho do chromeDriver no File | ||
|
||
Mark as Test Source todas as subpastas imediatas de test (não as subpastas das subpastas) | ||
|
||
Run configurations: | ||
|
||
Grails: atec | ||
|
||
P/ rodar run-app | ||
|
||
Cucumber: atec | ||
|
||
(IntelliJ) Para rodar os testes, crie uma configuração do grails com a seguinte linha de comando: | ||
|
||
P/ testar test-app -Dgeb.env=chrome functional:cucumber | ||
|
||
------------------------------------------------------------------------------------------------------------------- | ||
|
||
Integração com o Travis-ci <br /> | ||
Entre em [Travis-CI](https://travis-ci.org/) <br /> | ||
Selecione o botão no canto superior direito "Sign in with github" <br /> | ||
Clique em seu nome no canto superior direito <br /> | ||
Pressione o botão cinza "Sync" caso seus repositórios não estejam aparecendo <br /> | ||
Caso os repositórios não aparecam, dê log out e entre novamente <br /> | ||
Escolha o repositório que deseja testar, no caso o TA, e clique no botão cinza para que ele se torne verde <br /> | ||
Faça um commit qualquer para ativar a build do travis <br /> | ||
Caso você queira ver mais do stacktrace utilize "--verbose" logo após o comando "--stacktrace" no arquivo .travis.yml do seu repositório <br /> | ||
Para receber emails sobre se a build passou ou não, ative seu email no perfil do github <br /> |
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,6 @@ | ||
#Grails Metadata file | ||
#Tue Apr 11 00:59:32 BRT 2017 | ||
app.grails.version=2.4.3 | ||
app.name=atec | ||
app.servlet.version=2.5 | ||
app.version=0.1 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,20 @@ | ||
// This is a manifest file that'll be compiled into application.js. | ||
// | ||
// Any JavaScript file within this directory can be referenced here using a relative path. | ||
// | ||
// You're free to add application-wide JavaScript to this file, but it's generally better | ||
// to create separate JavaScript files as needed. | ||
// | ||
//= require jquery | ||
//= require_tree . | ||
//= require_self | ||
|
||
if (typeof jQuery !== 'undefined') { | ||
(function($) { | ||
$('#spinner').ajaxStart(function() { | ||
$(this).fadeIn(); | ||
}).ajaxStop(function() { | ||
$(this).fadeOut(); | ||
}); | ||
})(jQuery); | ||
} |
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,13 @@ | ||
/* | ||
* This is a manifest file that'll be compiled into application.css, which will include all the files | ||
* listed below. | ||
* | ||
* Any CSS file within this directory can be referenced here using a relative path. | ||
* | ||
* You're free to add application-wide styles to this file and they'll appear at the top of the | ||
* compiled file, but it's generally better to create a new file per style scope. | ||
* | ||
*= require main | ||
*= require mobile | ||
*= require_self | ||
*/ |
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,109 @@ | ||
h1, h2 { | ||
margin: 10px 25px 5px; | ||
} | ||
|
||
h2 { | ||
font-size: 1.1em; | ||
} | ||
|
||
.filename { | ||
font-style: italic; | ||
} | ||
|
||
.exceptionMessage { | ||
margin: 10px; | ||
border: 1px solid #000; | ||
padding: 5px; | ||
background-color: #E9E9E9; | ||
} | ||
|
||
.stack, | ||
.snippet { | ||
margin: 0 25px 10px; | ||
} | ||
|
||
.stack, | ||
.snippet { | ||
border: 1px solid #ccc; | ||
-mox-box-shadow: 0 0 2px rgba(0,0,0,0.2); | ||
-webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2); | ||
box-shadow: 0 0 2px rgba(0,0,0,0.2); | ||
} | ||
|
||
/* error details */ | ||
.error-details { | ||
border-top: 1px solid #FFAAAA; | ||
-mox-box-shadow: 0 0 2px rgba(0,0,0,0.2); | ||
-webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2); | ||
box-shadow: 0 0 2px rgba(0,0,0,0.2); | ||
border-bottom: 1px solid #FFAAAA; | ||
-mox-box-shadow: 0 0 2px rgba(0,0,0,0.2); | ||
-webkit-box-shadow: 0 0 2px rgba(0,0,0,0.2); | ||
box-shadow: 0 0 2px rgba(0,0,0,0.2); | ||
background-color:#FFF3F3; | ||
line-height: 1.5; | ||
overflow: hidden; | ||
padding: 5px; | ||
padding-left:25px; | ||
} | ||
|
||
.error-details dt { | ||
clear: left; | ||
float: left; | ||
font-weight: bold; | ||
margin-right: 5px; | ||
} | ||
|
||
.error-details dt:after { | ||
content: ":"; | ||
} | ||
|
||
.error-details dd { | ||
display: block; | ||
} | ||
|
||
/* stack trace */ | ||
.stack { | ||
padding: 5px; | ||
overflow: auto; | ||
height: 150px; | ||
} | ||
|
||
/* code snippet */ | ||
.snippet { | ||
background-color: #fff; | ||
font-family: monospace; | ||
} | ||
|
||
.snippet .line { | ||
display: block; | ||
} | ||
|
||
.snippet .lineNumber { | ||
background-color: #ddd; | ||
color: #999; | ||
display: inline-block; | ||
margin-right: 5px; | ||
padding: 0 3px; | ||
text-align: right; | ||
width: 3em; | ||
} | ||
|
||
.snippet .error { | ||
background-color: #fff3f3; | ||
font-weight: bold; | ||
} | ||
|
||
.snippet .error .lineNumber { | ||
background-color: #faa; | ||
color: #333; | ||
font-weight: bold; | ||
} | ||
|
||
.snippet .line:first-child .lineNumber { | ||
padding-top: 5px; | ||
} | ||
|
||
.snippet .line:last-child .lineNumber { | ||
padding-bottom: 5px; | ||
} |
Oops, something went wrong.