diff --git a/README.md b/README.md index 662d09d..801944b 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ Python script to show the menu from UFSCar's community restaurant from terminal. First time setup: ```bash pip install --user -r requirements.txt +chmod u+x cardapio chmod u+x download.sh ``` @@ -14,21 +15,15 @@ curl xrandr ``` -if python 3 is your default: +Launch: ```bash -python cardapio.py +./cardapio ``` -else: -```bash -python3 cardapio.py -``` - - ## Others If you've used the script before but you're wanting the menu from today on, just remove ru.html: ```bash -rm ru.html +rm /tmp/cardapio-ru/ru.html ``` ### Accepting contributions! diff --git a/cardapio.py b/cardapio old mode 100644 new mode 100755 similarity index 99% rename from cardapio.py rename to cardapio index c09e7ef..70499a5 --- a/cardapio.py +++ b/cardapio @@ -1,3 +1,5 @@ +#!/usr/bin/env python + import os from html.parser import HTMLParser from dateutil.parser import parse