Next.js web app for PISCES
- Go to https://github.dev/pisces-intl/pisces-intl.github.io
- Sign in with your GitHub credentials
- Open the
_posts
folder - Right-click and Create a new file ending in
.md
give it a proper date formatted name - At the top of the file, insert the following text:
---
title: ''
excerpt: ''
coverImage: ''
date: ''
author:
name:
ogImage:
url: ''
video: ''
---
- Fill out the fields relevant to the post (the
coverImage
,ogImage
andvideo
fields can be ommitted) - Write the blogpost using markdown
- If the blogpost includes an embedded video, put the URL to the video in the
video
field. - Save the file (Ctrl + S)
- On the left-hand panel, click the "Source Control" tab (Ctrl+Shift+G)
- Next to the _post file you just created, click the "+" button. It should now show up under "Staged Changes".
- In the top box ("Message") type a commit message (something like "Added 123.md")
- Above the top box, click the "✓" ("Commit") button
- The changes will be committed directly to the
main
branch, which will be automatically deployed within a few minutes
- Go to https://github.dev/pisces-intl/pisces-intl.github.io
- Sign in with your GitHub credentials
- Open the
_data/resources-data.js
file - Under the
links
array, copy lines 3 - 7 - Past the copied lines at the start of line 3
- Update the values for
url
,title
andtype
to match the new resource - Save the file
- On the left-hand panel, click the "Source Control" tab (Ctrl+Shift+G)
- Next to the
_data/resources-data.js
you just edited, click the "+" button. It should now show up under "Staged Changes". - In the top box ("Message") type a commit message (something like "Added CISA link")
- Above the top box, click the "✓" ("Commit") button
- The changes will be committed directly to the
main
branch, which will be automatically deployed within a few minutes
- Go to https://github.dev/pisces-intl/pisces-intl.github.io
- Sign in with your GitHub credentials
- Navigate to the
public/assets/documents
folder - Add another document by right-clicking and selecting "Upload"
- Rename the document to something with underscores (like "flier_pisces_pnnl.pdf")
- Open the
_data/resources-data.js
file - Under the
documents
array, copy the first 5 lines - Past the copied lines at the start of the
documents
line - Update the values for
title
andtype
to match the new resource - Change the
url
value to match the document you added (should be/assets/documents/your_new_document.pdf
) - Save the file
- On the left-hand panel, click the "Source Control" tab (Ctrl+Shift+G)
- Next to the
_data/resources-data.js
you just edited, click the "+" button. It should now show up under "Staged Changes". - Next to the
public/assets/documents/your_new_document.pdf
you just added, click the "+" button. It should now show up under "Staged Changes". - In the top box ("Message") type a commit message (something like "Added CISA document")
- Above the top box, click the "✓" ("Commit") button
- The changes will be committed directly to the
main
branch, which will be automatically deployed within a few minutes
- Go to https://github.dev/pisces-intl/pisces-intl.github.io
- Sign in with your GitHub credentials
- Open the
_data/board-data.js
file - Edit any of the name, description, or url fields (Note: if you add a new board member, upload the photo to the
public/assets/board-members/
folder then reference it within the url field). - Save the file
- On the left-hand panel, click the "Source Control" tab (Ctrl+Shift+G)
- Next to the
_data/board-data.js
you just edited, click the "+" button. It should now show up under "Staged Changes". - If you added any photos, next the photo file you just added, click the "+" button. It should now show up under "Staged Changes".
- In the top box ("Message") type a commit message (something like "Changed Board Members")
- Above the top box, click the "✓" ("Commit") button
- The changes will be committed directly to the
main
branch, which will be automatically deployed within a few minutes
- Go to https://github.dev/pisces-intl/pisces-intl.github.io
- Sign in with your GitHub credentials
- Open the
_data/academic-data.js
file - Edit any of the title, text fields
- Save the file
- On the left-hand panel, click the "Source Control" tab (Ctrl+Shift+G)
- Next to the
_data/academic-data.js
you just edited, click the "+" button. It should now show up under "Staged Changes". - In the top box ("Message") type a commit message (something like "Changed Academic Data")
- Above the top box, click the "✓" ("Commit") button
- The changes will be committed directly to the
main
branch, which will be automatically deployed within a few minutes
- Go to https://github.dev/pisces-intl/pisces-intl.github.io
- Sign in with your GitHub credentials
- Open the
_data/community-data.js
file - Edit any of the title, text fields
- Save the file
- On the left-hand panel, click the "Source Control" tab (Ctrl+Shift+G)
- Next to the
_data/community-data.js
you just edited, click the "+" button. It should now show up under "Staged Changes". - In the top box ("Message") type a commit message (something like "Changed Community Data")
- Above the top box, click the "✓" ("Commit") button
- The changes will be committed directly to the
main
branch, which will be automatically deployed within a few minutes
- Go to https://github.dev/pisces-intl/pisces-intl.github.io
- Sign in with your GitHub credentials
- Open the
_data/pisces-data.js
file - Edit any of the title, text fields
- Save the file
- On the left-hand panel, click the "Source Control" tab (Ctrl+Shift+G)
- Next to the
_data/pisces-data.js
you just edited, click the "+" button. It should now show up under "Staged Changes". - In the top box ("Message") type a commit message (something like "Changed PISCES Data")
- Above the top box, click the "✓" ("Commit") button
- The changes will be committed directly to the
main
branch, which will be automatically deployed within a few minutes