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
_postsfolder - Right-click and Create a new file ending in
.mdgive 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,ogImageandvideofields can be ommitted) - Write the blogpost using markdown
- If the blogpost includes an embedded video, put the URL to the video in the
videofield. - 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
mainbranch, 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.jsfile - Under the
linksarray, copy lines 3 - 7 - Past the copied lines at the start of line 3
- Update the values for
url,titleandtypeto 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.jsyou 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
mainbranch, 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/documentsfolder - 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.jsfile - Under the
documentsarray, copy the first 5 lines - Past the copied lines at the start of the
documentsline - Update the values for
titleandtypeto match the new resource - Change the
urlvalue 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.jsyou just edited, click the "+" button. It should now show up under "Staged Changes". - Next to the
public/assets/documents/your_new_document.pdfyou 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
mainbranch, 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.jsfile - 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.jsyou 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
mainbranch, 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.jsfile - 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.jsyou 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
mainbranch, 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.jsfile - 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.jsyou 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
mainbranch, 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.jsfile - 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.jsyou 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
mainbranch, which will be automatically deployed within a few minutes