No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
11 additions and
11 deletions
-
MIGRACAO.md
|
|
@ -6,23 +6,23 @@ Para montar o ambiente |
|
|
|
|
|
|
|
* Clonar o sigi em sua máquina: |
|
|
|
``` |
|
|
|
$ git clone git@github.com:interlegis/sigi.git |
|
|
|
git clone git@github.com:interlegis/sigi.git |
|
|
|
``` |
|
|
|
* Entrar no diretório e mudar para o branch master: |
|
|
|
``` |
|
|
|
$ cd sigi |
|
|
|
$ git checkout --track origin/master |
|
|
|
cd sigi |
|
|
|
git checkout --track origin/master |
|
|
|
``` |
|
|
|
* Criar o ambiente virtual: |
|
|
|
``` |
|
|
|
$ mkdir env |
|
|
|
$ virtualenv -p python3 env/sigi |
|
|
|
mkdir env |
|
|
|
virtualenv -p python3 env/sigi |
|
|
|
``` |
|
|
|
* Instalar os requirements: |
|
|
|
``` |
|
|
|
$ source env/sigi/bin/activate |
|
|
|
$ pip install --upgrade pip |
|
|
|
$ pip install -r requirements/dev-reuirements.txt |
|
|
|
source env/sigi/bin/activate |
|
|
|
pip install --upgrade pip |
|
|
|
pip install -r requirements/dev-reuirements.txt |
|
|
|
``` |
|
|
|
|
|
|
|
Pronto! Tá instalado! |
|
|
@ -30,9 +30,9 @@ Pronto! Tá instalado! |
|
|
|
Para executar o SIGI: |
|
|
|
--------------------- |
|
|
|
``` |
|
|
|
$ cd sigi |
|
|
|
$ source env/sigi/bin/activate |
|
|
|
$ ./manage.py runserver |
|
|
|
cd sigi |
|
|
|
source env/sigi/bin/activate |
|
|
|
./manage.py runserver |
|
|
|
``` |
|
|
|
**No browser use o endereço 127.0.0.1:8000/admin** |
|
|
|
|
|
|
|