Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tiagocordeiro/macambira
https://github.com/tiagocordeiro/macambira
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tiagocordeiro/macambira
- Owner: tiagocordeiro
- Created: 2018-11-13T13:27:12.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2024-11-14T16:38:19.000Z (2 months ago)
- Last Synced: 2024-11-14T17:33:57.719Z (2 months ago)
- Language: CSS
- Size: 1.57 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 34
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Macambira Beer
[![Build Status](https://travis-ci.org/tiagocordeiro/macambira.svg?branch=master)](https://travis-ci.org/tiagocordeiro/macambira)
[![Updates](https://pyup.io/repos/github/tiagocordeiro/macambira/shield.svg)](https://pyup.io/repos/github/tiagocordeiro/macambira/)
[![Python 3](https://pyup.io/repos/github/tiagocordeiro/macambira/python-3-shield.svg)](https://pyup.io/repos/github/tiagocordeiro/macambira/)
![GitHub](https://img.shields.io/github/license/mashape/apistatus.svg)## Como rodar o projeto?
* Clone esse repositório.
* Crie um virtualenv com Python 3.
* Ative o virtualenv.
* Instale as dependências.
* Rode as migrações.```
git clone https://github.com/tiagocordeiro/macambira.git
cd macambira
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python contrib/env_gen.py
python manage.py migrate
```### Populando o banco de dados
Cria Categorias
```
python manage.py loaddata beer/fixtures/beer_categories.json
```Cria Estilos
```
python manage.py loaddata beer/fixtures/beer_styles.json
```Cria Cervejas
```
python manage.py create_beers
```