Code for website at https://clevelandtips.com/
We need help processing submissions and cleaning data! To volunteer, please make a pull request updating this README to sign up for a shift importing and reviewing data. Then at the designated time, follow the steps below and make a pull request when complete. Each shift normally takes about 30 minutes.
Shift | GitHub User |
---|---|
Monday mornings | @roxcoldiron |
Monday evenings | |
Tuesday mornings | @vsalvino |
Tuesday evenings | |
Wednesday mornings | @roxcoldiron |
Wednesday evenings | |
Thursday mornings | @vsalvino |
Thursday evenings | |
Friday mornings | |
Friday evenings | @samsawan |
Saturday mornings | @vsalvino |
Saturday evenings | |
Sunday mornings | @samsawan |
Sunday evenings |
Code is in a static HTML page in site/
directory, rendered client-side with
Vue.js.
Data is located in site/data/data.json
. Data is imported and cleaned via
import.py
script which does most of the heavy lifting. If you'd like to
contribute data, make a pull request or submit your info from the form link on
https://clevelandtips.com/.
Data pull requests will be accepted providing that the data is in alphabetical order.
Install Python 3.6 or higher, then:
-
Download a CSV from our Google Sheet (read only, it is populated by the signup form) and place it in this directory named
raw.csv
. -
Run the data import script:
python import.py
This script will also alphabetize all entries.
-
Review the
data.json
file diff before committing. Update any necessary data points such as website, and clean up misspellings, duplicates, proper capitalization, etc. It is helpful to view this file in a visual diff tool, such as VS Code. This is the most labor intensive part and where we need the most help. -
Run the site locally using a web server, such as:
python -m http.server -d site 8000
Then go to http://localhost:8000/ and make sure it loads correctly with your updated data. If it does not load, there is most likely a syntax error in the JSON file.
-
Commit the changes and make a pull request.