Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caferrari/central4
Central Administrativa 4
https://github.com/caferrari/central4
Last synced: about 2 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 (almost 10 years ago)
- Default Branch: develop
- Last Pushed: 2013-12-13T19:08:14.000Z (about 11 years ago)
- Last Synced: 2024-10-28T05:39:14.206Z (3 months 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
[![Build Status](https://travis-ci.org/secom-tocantins/central4.png?branch=develop)](https://travis-ci.org/secom-tocantins/central4) [![Coverage Status](https://coveralls.io/repos/secom-tocantins/central4/badge.png?branch=develop)](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
```