Skip to content
This repository has been archived by the owner on Sep 17, 2024. It is now read-only.

Commit

Permalink
Deploy to GitHub Pages
Browse files Browse the repository at this point in the history
  • Loading branch information
cuducos committed Jun 19, 2019
1 parent 7577ff5 commit f12bd71
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 5 deletions.
1 change: 1 addition & 0 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ verify_ssl = true

[dev-packages]
codecov = "*"
ghp-import = "*"
ipython = "*"
pytest = "*"
pytest-cov = "*"
Expand Down
9 changes: 8 additions & 1 deletion Pipfile.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

20 changes: 16 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@

Hate crimes monitor for political motivated assaults in Brazil.

Requires a Google account and Python 3.7 with [Pipenv](https://pipenv.readthedocs.io/).
Requires a Google account and Python 3.7 with
[Pipenv](https://pipenv.readthedocs.io/).

## Settings

Expand Down Expand Up @@ -45,13 +46,24 @@ $ flask run
Create the static files version at `build/` with:

```sh
flask build
$ flask build
```

And push the `gh-pages` branch to GitHub with
[`ghp-import`](https://github.com/davisp/ghp-import):

```sh
$ ghp-import \
--cname www.vitimasdaintolerancia.org \
--push \
--force \
build/
```

## Contributing

Install development dependencies, make yourself at home, write tests and format code with
[Black](https://github.com/ambv/black):
Install development dependencies, make yourself at home, write tests and format
code with [Black](https://github.com/ambv/black):

```sh
$ pipenv install --dev
Expand Down

0 comments on commit f12bd71

Please sign in to comment.