PATIC
Plano de Aquisição de TIC
Para desenvolver
-
Clone o repositório
-
Crie um virtualenv com python 3.7
-
Ative o virtualenv
-
Instale as dependências
-
Defina as variáveis no arquivo .env
-
Execute os testes
-
Execute o servidor e abra a aplicação no endereço http://127.0.0.1:8080
Script Unix:
git clone https://github.com/dssantos/planejamento-de-tic.git patic
cd patic
python -m venv .patic
source .patic/bin/activate
pip install -U pip
pip install -r requirements.txt
cp contrib/env-sample .env
cat .env
python manage.py test
python manage.py runserver 0.0.0.0:8080
Script Windows:
git clone https://github.com/dssantos/planejamento-de-tic.git patic
cd patic
python -m venv .patic
.patic\Scripts\activate
pip install -U pip
pip install -r requirements.txt
copy contrib\env-sample .env
type .env
python manage.py test
python manage.py runserver 0.0.0.0:8080
Script Windows (Git Bash com comandos Linux):
git clone https://github.com/dssantos/planejamento-de-tic.git patic
cd patic
python -m venv .patic
source .patic/Scripts/activate
pip install -U pip
pip install -r requirements.txt
cp contrib/env-sample .env
cat .env
python manage.py test
python manage.py runserver 0.0.0.0:8080