ebird-photo-gallery is a website to display and organize photos uploaded to ebird.org.
- Install node: https://nodejs.org/en/download/.
- Get the project from git:
git clone https://github.com/tealefristoe/ebird-photo-gallery
- Install npm in the project directory:
npm install next
- Open a PowerShell window in the ebird-photo-gallery directory.
npm run dev
-
Get life and photo lists from user. Ask the user to follow these directions, then send you the spreadsheets they downloaded:
- Go to https://ebird.org/MyEBird?cmd=list&r=world
- Log into ebird (if you aren't already logged in)
- Choose SORT BY: Taxonomic (right side just above your life list)
- Click Download (csv) (top right of the page)
- Save the file. It should be called something like ebird_world_life_list.csv
- Go to ebird.org
- Log into ebird if you aren't already logged in
- Click "NUMBER Species with photos" on the left
- Click on Recently Uploaded on the right and change to Best Quality (this changes how the photos are sorted and is important for the photo gallery to work properly)
- Click Save Spreadsheet just below Best Quality
- Save the file. It should be called something like ML_DATE_Photo_NAME.csv
-
Create a new directory in the
ebird-photo-gallery/data
directory. -
Name the new directory after the user.
-
Add the user's life list (renamed to
life_list.csv
) and photo list (renamed tophoto_list.csv
) to their directory. -
Visit
http://localhost:3000/api/processLists?user=USER
, whereUSER
is the the name of the new directory you created. (Replace spaces with '+'.) -
Check to make sure everything worked out by visiting
http://localhost:3000/?user=USER
. -
If everything looks ok, commit your changes to git. The user's new page can be found at
https://ebird-photo-gallery.vercel.app/?user=USER
!
Follow the instructions for creating a new user, but just replace the user's old life_list.csv
and photo_list.csv
.
If you made a change that requires updating all user's lists, visit http://localhost:3000/api/processLists?user=all
.