- Gather information via Google Forms.
- Review and copy-edit that information in Google Sheets.
- Update the data in jekyll/_data by running
- Commit the resulting changes to git, e.g.
git commit -a -m "Latest changes". Then push them, e.g.
git push origin master.
- On the server, fetch the latest changes using
- Build the site and copy it into place by running
./scripts/build.sh. This will ask for your password in order to run
sudowhen copying the built files into position.
When working with countries, make sure to use the same name for the country in all the spreadsheets. For the purposes of this project, a "Country" is something that is named in http://jvectormap.com/maps/world/world , mentioned below. This means that (for example) we must use "United Kingdom" rather than "Scotland" or "Wales". Where "Jurisdiction" is an option this can be used to more accurately describe the resource's origin. I (RobM) apologize for this.
There are three sets of spreadsheets
Google Form Results
These are the results of people completing the Google Forms. Pay special attention to whether the contributor has selected the option to receive credit or not
These are the Google sheets that details are copied to from the Results spreadsheets and given editorial attention on.
Do not copy the contributor's name into these if they have not selected the option to receive credit.
To export data from these sheets, run
./scripts/overwrite-data.sh as described above.
CSV Documents in _data
These are the CSV (Comma Separated Values) format spreadsheets in
that we use to build the pages.
Apart from countries.csv, do not edit the content of these files, rather edit the Google Sheets then export them and copy them into position.
The list of countries we have data for. If a country is not listed here, its data will not be used.
The uppercase two-letter code for the country (ISO 3166-1 alpha-2). See http://jvectormap.com/maps/world/world/ .
The name of the country. This should be in English. See http://jvectormap.com/maps/world/world/ .
Optional text to be included in the country page.