You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please ensure you have installed node and git on your machine before the workshop begins. We will have little time, and installing these beforehand will help the workshop run smoothly.
The directory will be cloned into the directory where you run this command. It might be convenient to run this command from your Desktop to have the project readily available.
Check out the causual-islands-2023 branch:
cd odd-app-template
git fetch
git checkout causal-islands-2023
Install the project dependencies:
npm install
Run the app:
npm run dev
Open a web browser and navigate to localhost:5173, and you should see the app running. Ask for help if you don't!
Workshop exercises
Now that the app is running, we can start writing some code. 🙌
The starter code implements an OEIS search and displays matching sequences. Using the ODD SDK, we'll save sequences to the Webnative File System (WNFS). We'll also view the saved sequences on IPFS and explore content identifiers (CIDs).
These files are Svelte components, but you will only need to write JavaScript to complete the exercises. Each time you save a file, the web app should update without running another command.
Connect as a new user in the app and navigate to the Sequences page from the sidebar.
Open the Search and Collection components in your code editor:
Each file has exercises marked with TODO and comments describing the exercise. Start with the Search component, then move on to the Collection component.
A few additional exercises are marked OPTIONAL ADVANCED EXERCISE. Save these for last, and don't worry if you don't complete them! They are advanced for a reason.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Fission Causal Islands 2023 Workshop
Hey there, welcome to the workshop! 👋
We'll be creating a sequence explorer to search and collect sequences from the On-line Encyclopedia of Integer Sequences (OEIS).
Preparation
Please ensure you have installed
node
andgit
on your machine before the workshop begins. We will have little time, and installing these beforehand will help the workshop run smoothly.If you already have
node
on your machine, check that you havev18.0.0
or newer.You'll also want to install a code editor on your machine. We'd recommend VSCode, but any code editor will be fine.
Running the app
Clone the ODD App Template repository:
The directory will be cloned into the directory where you run this command. It might be convenient to run this command from your Desktop to have the project readily available.
Check out the
causual-islands-2023
branch:cd odd-app-template git fetch git checkout causal-islands-2023
Install the project dependencies:
Run the app:
Open a web browser and navigate to localhost:5173, and you should see the app running. Ask for help if you don't!
Workshop exercises
Now that the app is running, we can start writing some code. 🙌
The starter code implements an OEIS search and displays matching sequences. Using the ODD SDK, we'll save sequences to the Webnative File System (WNFS). We'll also view the saved sequences on IPFS and explore content identifiers (CIDs).
All of the exercises are in two files:
These files are Svelte components, but you will only need to write JavaScript to complete the exercises. Each time you save a file, the web app should update without running another command.
Connect as a new user in the app and navigate to the
Sequences
page from the sidebar.Open the Search and Collection components in your code editor:
src/routes/sequences/components/Search.svelte
src/routes/sequences/components/Collection.svelte
Each file has exercises marked with
TODO
and comments describing the exercise. Start with the Search component, then move on to the Collection component.A few additional exercises are marked
OPTIONAL ADVANCED EXERCISE
. Save these for last, and don't worry if you don't complete them! They are advanced for a reason.Beta Was this translation helpful? Give feedback.
All reactions