Giter Site home page Giter Site logo

gem5 / gem5-resources-website Goto Github PK

View Code? Open in Web Editor NEW
5.0 9.0 5.0 3.46 MB

The gem5-resources website. A web portal for users to browse resources created for usage in gem5 simulations.

License: BSD 3-Clause "New" or "Revised" License

JavaScript 91.96% Python 0.05% CSS 7.99%
gem5 resources website jekyll

gem5-resources-website's Introduction

gem5 Resources Website

This is the source code for the gem5 Resources website. It is built using Next.js, a React framework for building static and server-side rendered websites.

Table of Contents

Getting Started

Prerequisites

Installation

  1. Clone the repository

    git clone
  2. Install dependencies

     npm install
  3. Run the development server

    npm run dev
  4. Open http://localhost:3000 with your browser to see the result.

Development

Project Structure

The project is structured as follows:

  • gem5.config.js: Contains the configuration for the gem5 Resources website including the databases and the tabs. This is config that you would use to make changes to the JSON or MongoDB source information and the location of rendering of resource information for a particular category.
  • components: Contains React components used throughout the website.
    • components/tabs: Contains the tabs used in the Resource page.
  • pages: Contains the pages of the website. Each page is a React component.
    • pages/api: Contains the API routes of the website.
    • pages/category: Contains the .md documentation of what every category under gem5 Resources is.
  • public: Contains static assets such as images, fonts, and favicons. Also contains the gem5 Resources Schema and other JSON files of previous versions of gem5.
  • styles: Contains global stylesheets and CSS modules.
  • __tests__: Contains the jest unit tests for the website.
  • __mocks__: Contains the jest mocks for the website.
  • cypress: Contains the cypress integration tests for the website.
  • next.config.js: Contains the configuration for the Next.js server. Includes information on build directories, environment variables and the domain of the website.
  • docs: Contains the documentation files for the website.
  • jest.config.js: Contains the setup configuration for Jest.js, a unit test framework for JavaScript.
  • jest.setup.js: Additional setup for mocking libraries like react-markdown in Jest.js.
  • cypress.config.js: Contains the setup configuration for Cypress, an E2E test framework for JavaScript. Tests how various components of the website interact with each other.

Maintaining the Website

The instructions for maintaining the website are located in the MAINTAINING.md file.

Deployment

The instruction for building and deploying the website are located in the BUILDING.md file.

Contributing

If you find any bugs or have any suggestions, please open an issue or a pull request. For more information, please read the gem5 Contributions page file.

License

The gem5 Resources website is licensed under the LICENSE.md.

Acknowledgements

The gem5 Resources website is built using the following open source projects:

The gem5 Resources website is inspired by the following websites:

All logos and trademarks are property of their respective owners.

Contributors

Special thanks to Jason Lowe-Power and Bobby R. Bruce for their guidance and support.

gem5-resources-website's People

Contributors

aarsli avatar bobbyrbruce avatar harshil2107 avatar helloparthshah avatar kunpai avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

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.