Giter VIP home page Giter VIP logo

adventuresite's Introduction

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.