Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New ramo #26

Open
wants to merge 66 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
8c5b1e8
aula 05
SandroRMio Jun 28, 2020
3b686b8
Update Makefile
SandroRMio Jun 29, 2020
26f74df
testando
SandroRMio Jun 29, 2020
152654c
Update requirements.txt
SandroRMio Jun 29, 2020
9845d73
Merge branch 'master' of https://github.com/SandroRMio/curso-flask-1
SandroRMio Jun 29, 2020
a11c532
parte de testes
SandroRMio Jun 30, 2020
1ff941f
Update test_app.py
SandroRMio Jul 3, 2020
4463f59
atualizei o master com o brach cat
SandroRMio Jul 3, 2020
7d3391a
verifique o ipython
SandroRMio Jul 3, 2020
0dbc5da
salvando o urubu com erro no flask shell
SandroRMio Jul 4, 2020
94896bd
esta com erro mas depois acharemos
SandroRMio Jul 4, 2020
e5a68a6
erro encontrado ok
SandroRMio Jul 4, 2020
281c519
tudo esta rodando certinho
SandroRMio Jul 5, 2020
f82ac6b
Adding action CI
SandroRMio Jul 5, 2020
46c8390
Merge branch 'urubu'
SandroRMio Jul 5, 2020
d137151
Update python-app.yml
SandroRMio Jul 5, 2020
55061df
Merge pull request #1 from SandroRMio/SandroRMio-patch-1
SandroRMio Jul 5, 2020
d4446ab
Update python-app.yml
SandroRMio Jul 5, 2020
2af24e3
salvando
SandroRMio Jul 6, 2020
ce5d634
terminado a ultima parte , faltando a tarefa ....
SandroRMio Jul 8, 2020
48eb965
Merge branch 'urubu'
SandroRMio Jul 8, 2020
9aaad7e
adicionando templates e terminando a configuracao
SandroRMio Jul 8, 2020
a43fade
Merge remote-tracking branch 'upstream/master' into urubu3
SandroRMio Jul 9, 2020
99be76e
exemplos
SandroRMio Jul 9, 2020
5a3f288
Merge pull request #2 from SandroRMio/SandroRMio-urubus-2
SandroRMio Jul 9, 2020
7778907
tentando fazer um push
SandroRMio Jul 11, 2020
918a5b7
tente achar
SandroRMio Jul 11, 2020
c5412e2
git com erro para subir
SandroRMio Jul 11, 2020
52bcb5d
tools for BD
SandroRMio Jul 13, 2020
ecd96c4
update os requeriments
SandroRMio Jul 13, 2020
adb4493
fazendo o BD e cin variras alterações
SandroRMio Jul 15, 2020
8efe478
..continuando com o BD
SandroRMio Jul 15, 2020
6fde9c3
alguns erro no BD
SandroRMio Jul 16, 2020
911fd51
Banco de dados
SandroRMio Jul 17, 2020
b14508a
termino da aula de BD
SandroRMio Jul 17, 2020
dea957b
criando e populando tabelas
SandroRMio Jul 17, 2020
8126eae
delete
SandroRMio Jul 18, 2020
7dbdd09
delete
SandroRMio Jul 18, 2020
1fb92e3
apagando arquivos
SandroRMio Jul 19, 2020
b7aefeb
Merge branch 'aula8'
SandroRMio Jul 19, 2020
7d937f4
acertando
SandroRMio Jul 19, 2020
c9bdb90
acertando as pastas
SandroRMio Jul 19, 2020
1e87a16
acertando as pastas II
SandroRMio Jul 19, 2020
027cf99
arruamndo erros
SandroRMio Jul 19, 2020
1d9de45
encotrando os erros....
SandroRMio Jul 19, 2020
22775a7
acertos
SandroRMio Jul 19, 2020
5ecd7f6
fazendo alterações
SandroRMio Jul 20, 2020
315d15c
atualizando
SandroRMio Jul 20, 2020
7f4ceb8
Merge pull request #4 from SandroRMio/newRamo
SandroRMio Jul 20, 2020
925bbdf
Create README.md
SandroRMio Jul 22, 2020
26d4a23
autenticações e dbadmin
SandroRMio Jul 25, 2020
37248e4
metade da aula 09
SandroRMio Aug 12, 2020
547b9bf
alterando o makefile
SandroRMio Aug 14, 2020
1942346
alterado o makefile
SandroRMio Aug 14, 2020
2acdc75
Dynaconf
SandroRMio Aug 15, 2020
ea829d6
acertando os diretorios
SandroRMio Aug 16, 2020
9fb8b0e
erro no BD
SandroRMio Aug 16, 2020
bf5aa14
files alterandos nao sei como....
SandroRMio Aug 18, 2020
95465c3
ainda enroscado nos erros
SandroRMio Aug 19, 2020
7211be3
erro aula#9
SandroRMio Aug 20, 2020
10f1302
o q faltava ??
SandroRMio Aug 21, 2020
aaa8e6b
falta 50%
SandroRMio Aug 21, 2020
2464550
um erro
SandroRMio Aug 24, 2020
51cacea
aula 9
SandroRMio Aug 25, 2020
f2c42ff
alteraçoes do bruno
SandroRMio Aug 28, 2020
065fcd3
Merge branch 'urubu3'
SandroRMio Aug 28, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
22 changes: 11 additions & 11 deletions .github/workflows/python-app.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions

name: Python application
defaults:
run:
defaults:
run:
shell: bash
working-directory: ./delivery

on:
push:
branches: [ master ]
branches: [ urubu ]
pull_request:
branches: [ master ]
branches: [ urubu ]

jobs:
build:
Expand All @@ -26,12 +26,12 @@ jobs:
python-version: 3.8
- name: Install dependencies
run: |
make install
make install

run: Database Migrations
make init_db

- name: Database Migrations
run: |
make init_db

- name: Run tests
run: |
make test
make test

132 changes: 0 additions & 132 deletions .gitignore

This file was deleted.

3 changes: 3 additions & 0 deletions .venv/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# created by virtualenv automatically


84 changes: 84 additions & 0 deletions .venv/bin/activate
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
# This file must be used with "source bin/activate" *from bash*
# you cannot run it directly


if [ "${BASH_SOURCE-}" = "$0" ]; then
echo "You must source this script: \$ source $0" >&2
exit 33
fi

deactivate () {
unset -f pydoc >/dev/null 2>&1

# reset old environment variables
# ! [ -z ${VAR+_} ] returns true if VAR is declared at all
if ! [ -z "${_OLD_VIRTUAL_PATH:+_}" ] ; then
PATH="$_OLD_VIRTUAL_PATH"
export PATH
unset _OLD_VIRTUAL_PATH
fi
if ! [ -z "${_OLD_VIRTUAL_PYTHONHOME+_}" ] ; then
PYTHONHOME="$_OLD_VIRTUAL_PYTHONHOME"
export PYTHONHOME
unset _OLD_VIRTUAL_PYTHONHOME
fi

# This should detect bash and zsh, which have a hash command that must
# be called to get it to forget past commands. Without forgetting
# past commands the $PATH changes we made may not be respected
if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
hash -r 2>/dev/null
fi

if ! [ -z "${_OLD_VIRTUAL_PS1+_}" ] ; then
PS1="$_OLD_VIRTUAL_PS1"
export PS1
unset _OLD_VIRTUAL_PS1
fi

unset VIRTUAL_ENV
if [ ! "${1-}" = "nondestructive" ] ; then
# Self destruct!
unset -f deactivate
fi
}

# unset irrelevant variables
deactivate nondestructive

VIRTUAL_ENV='/home/sandrormio/curso-flask/.venv'
export VIRTUAL_ENV

_OLD_VIRTUAL_PATH="$PATH"
PATH="$VIRTUAL_ENV/bin:$PATH"
export PATH

# unset PYTHONHOME if set
if ! [ -z "${PYTHONHOME+_}" ] ; then
_OLD_VIRTUAL_PYTHONHOME="$PYTHONHOME"
unset PYTHONHOME
fi

if [ -z "${VIRTUAL_ENV_DISABLE_PROMPT-}" ] ; then
_OLD_VIRTUAL_PS1="${PS1-}"
if [ "x" != x ] ; then
PS1="${PS1-}"
else
PS1="(`basename \"$VIRTUAL_ENV\"`) ${PS1-}"
fi
export PS1
fi

# Make sure to unalias pydoc if it's already there
alias pydoc 2>/dev/null >/dev/null && unalias pydoc || true

pydoc () {
python -m pydoc "$@"
}

# This should detect bash and zsh, which have a hash command that must
# be called to get it to forget past commands. Without forgetting
# past commands the $PATH changes we made may not be respected
if [ -n "${BASH-}" ] || [ -n "${ZSH_VERSION-}" ] ; then
hash -r 2>/dev/null
fi
55 changes: 55 additions & 0 deletions .venv/bin/activate.csh
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
# This file must be used with "source bin/activate.csh" *from csh*.
# You cannot run it directly.
# Created by Davide Di Blasi <[email protected]>.

set newline='\
'

alias deactivate 'test $?_OLD_VIRTUAL_PATH != 0 && setenv PATH "$_OLD_VIRTUAL_PATH:q" && unset _OLD_VIRTUAL_PATH; rehash; test $?_OLD_VIRTUAL_PROMPT != 0 && set prompt="$_OLD_VIRTUAL_PROMPT:q" && unset _OLD_VIRTUAL_PROMPT; unsetenv VIRTUAL_ENV; test "\!:*" != "nondestructive" && unalias deactivate && unalias pydoc'

# Unset irrelevant variables.
deactivate nondestructive

setenv VIRTUAL_ENV '/home/sandrormio/curso-flask/.venv'

set _OLD_VIRTUAL_PATH="$PATH:q"
setenv PATH "$VIRTUAL_ENV:q/bin:$PATH:q"



if ('' != "") then
set env_name = ''
else
set env_name = '('"$VIRTUAL_ENV:t:q"') '
endif

if ( $?VIRTUAL_ENV_DISABLE_PROMPT ) then
if ( $VIRTUAL_ENV_DISABLE_PROMPT == "" ) then
set do_prompt = "1"
else
set do_prompt = "0"
endif
else
set do_prompt = "1"
endif

if ( $do_prompt == "1" ) then
# Could be in a non-interactive environment,
# in which case, $prompt is undefined and we wouldn't
# care about the prompt anyway.
if ( $?prompt ) then
set _OLD_VIRTUAL_PROMPT="$prompt:q"
if ( "$prompt:q" =~ *"$newline:q"* ) then
:
else
set prompt = "$env_name:q$prompt:q"
endif
endif
endif

unset env_name
unset do_prompt

alias pydoc python -m pydoc

rehash
Loading