Skip to content

The Adventure Site is a web app that provides Terasology’s various documentation resources to new contributors in a conversational form. This “Tutorial Journey” or “Adventure Site” supports new contributors to find suitable resources based on their contribution interests. A user can navigate by conversing with the Gooey and Gooey helps the user …

Notifications You must be signed in to change notification settings

MovingBlocks/AdventureSite

Repository files navigation

Tutorial Journey Website for The Terasology Foundation!

status License GitHub issues


About   Setup   Testing   Deployment   Contributing


About The Project

The Adventure Site is a web app that provides Terasology’s various documentation resources to new contributors in a conversational form. This “Tutorial Journey” or “Adventure Site” supports new contributors to find suitable resources based on their contribution interests. A user can navigate by conversing with the Gooey and Gooey helps the user to learn more about the projects. Gooey helps the user to access the resources in a sequential order, which helps the user to study all possible resources related to that particular path.


AdventureSite gif


Project Structure

The Paths behind this Adventure Site are defined by a JSON schema in the pathMap.


What is a Path inside AdventureSite -

  • A path is nothing but a set of sequential steps that a user will follow.
  • The path will be decided according to the users choice.
  • Every Directory inside /src/data shows a group of similar paths and pathMap.jsx is the root file which compiles everything in one code.

What is the PathMap -

  • PathMap is a JSX file which compiles JSON schema of every path on a high level.
  • Every component inside /data directory contains path information for its respective Path.
  • The overall structure of the paths can be represented by a nested JSON.
  • You can find the general structure of each component here.

Editor's Guide

How to edit a path?

  • Open the project inside your favorite editor.
  • Go to the pathMap file.
  • Navigate to the point where you wish to edit the information.
    • How?
      • To navigate inside child paths, hold ctrl and click on the subPath.
      • This will take you to that particular path.
  • Make the required edits inside that path ( according to the Path Structure ).
  • Save and build the project.

How to Add a new Path?

  • To add a new path we have to decide if it is a totally new path or a subPath?
  • If it is a new path, then you can create a new directory under the src/data/ and name it accordingly. Also, add an appropriate path by following the Path Structure.
  • If it is a sub path then create the path file inside the appropriate directory in src/data/ and name it accordingly.
  • Make sure the path is added inside our existing flow.
  • Path can be imported by using an import statement (similar to react components).

Built With

The following generator is built using the following software, you'll need them installed in your workspace to run properly.


Tools Used

Setup

Open in Gitpod

  • Fork the repository
  • Clone the repository git clone forked-repository-link
  • Navigate inside the repository cd AdventureSite
  • Install the dependencies ( yarn is recommended ) yarn

Testing

You can test the website locally using yarn start.

Deployment

You can the website to GitHub pages using npm run deploy.

Contributing

To add a new feature or fix a bug follow the steps -

  • Make sure your local workspace is up-to-date with the main repository.

    • Add the original repository as upstream in you local git remote

      git remote add upstream https://github.com/MovingBlocks/AdventureSite.git

    • Fetch the latest code git fetch upstream

    • Checkout to your local master branch git checkout master

    • Merge changes from upstream/master to sync git merge upstream/master

  • Create a new branch to work on the new feature or bug via the updated master branch

    git checkout -b "branch_name"

  • Work on feature/bug and stage all the files to commit it on that branch

    git add . > git commit -m "Commit Message"

  • Push the branch to your fork git push -u origin branch_name

  • Create a pull request.


Contributors

A list of contributors can be found here.

About

The Adventure Site is a web app that provides Terasology’s various documentation resources to new contributors in a conversational form. This “Tutorial Journey” or “Adventure Site” supports new contributors to find suitable resources based on their contribution interests. A user can navigate by conversing with the Gooey and Gooey helps the user …

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published