Browse Source

Update MIGRACAO.md

revisaoSidenav
Sesostris Vieira 3 years ago
committed by GitHub
parent
commit
357ede4bc3
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 22
      MIGRACAO.md

22
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**

Loading…
Cancel
Save