https://github.com/caferrari/central4
Central Administrativa 4
https://github.com/caferrari/central4
Last synced: 10 months ago
JSON representation
Central Administrativa 4
- Host: GitHub
- URL: https://github.com/caferrari/central4
- Owner: caferrari
- License: mit
- Created: 2015-02-23T10:49:43.000Z (over 11 years ago)
- Default Branch: develop
- Last Pushed: 2013-12-13T19:08:14.000Z (over 12 years ago)
- Last Synced: 2025-02-08T08:47:37.407Z (over 1 year ago)
- Language: CSS
- Size: 527 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Central 4
[](https://travis-ci.org/secom-tocantins/central4) [](https://coveralls.io/r/secom-tocantins/central4?branch=develop)
CMS do Governo do Tocantins
## Dependências
Este projeto possui as seguintes dependências:
* Postgres >= 9.1
* PHP >= 5.4
* Git
## Configurando uma maquina para desenvolvimento no Ubuntu
Instale as dependências:
```sh
sudo apt-get install postgresql php5-cli php5-curl php5-pgsql php5-intl curl git
```
### Configuração do Postgres
Edite o arquivo
```sh
sudo nano /etc/postgresql/9.1/main/pg_hba.conf
```
Na linha que contêm o seguinte host:
```sh
host all all 127.0.0.1/32 md5
```
Altere o md5 para trust, ficando assim:
```sh
host all all 127.0.0.1/32 trust
```
Em seguida reinicie o postgres
```sh
sudo service postgresql restart
```
### Instalando o projeto
Clone o projeto do github para sua maquina:
```sh
git clone git://github.com/secom-tocantins/central4.git
```
Agora entramos na pasta do projeto utilizamos o make para configurar tudo
```sh
cd central4
make setup
```
Aguarde o composer atualizar e instalar as dependências e estará tudo pronto.
### Para rodar o projeto com o servidor built-in do php, use o comando:
```sh
make server
```