Coder Social home page Coder Social logo

eduardfossas / qiskit.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qiskit/qiskit.org

0.0 0.0 0.0 464.86 MB

The Qiskit official website

Home Page: https://qiskit.org

License: Apache License 2.0

Shell 0.18% JavaScript 0.23% TypeScript 50.56% HTML 0.02% Vue 46.17% Dockerfile 0.13% SCSS 2.71%

qiskit.org's Introduction

Qiskit

Welcome to Qiskit.org

Qiskit is an open-source quantum computing software development framework for leveraging today's quantum processors in research, education, and business.

Qiskit.org is released under the Apache 2.0 License. Current GitHub Action build status. PRs welcome! Follow @qiskit


Table of Contents


🚀 Get Up and Running

  1. Download this repository and go to its folder

    git clone [email protected]:Qiskit/qiskit.org.git && cd qiskit.org
  2. Install dependencies

     npm install
  3. Create an .env file

cp .env.example .env
  1. Run a local server with hot reload at localhost:3000

    npm run dev

💻 Technology Used

Qiskit.org is a static website generated using Nuxt.

We create and run tests using Vitest, avoid syntax errors using ESLint and Stylelint, and automate code integration and deployment using GitHub Actions.


🏭 Content Generation

Qiskit.org integrates with the tools used by the IBM Quantum Community Team to generate content based on 3rd party APIs such as Airtable. Part of this content is prefetched during building time.

During local development, mock data is generated by default but fetching real data from Airtable is possible. If you need to do this, please ask a core maintainer for the AIRTABLE_ACCESS_TOKEN, or generate your own if you have an Airtable account with access to the required bases. Once you have the Airtable access token, change these environment variables in your .env file:

  • AIRTABLE_ACCESS_TOKEN=<Airtable access token>
  • GENERATE_CONTENT=true
  • MOCK_CONTENT=false

Then you can run the local server as usual and the content will be fetched at the beginning:

npm run dev

🥸 Mocking content

If you don't have access to the Airtable data or you don't need to fetch it, mock data can be generated by setting the environment variable MOCK_CONTENT to true in your .env file. This is set by default after you generate your .env file from .env.example.

The project has a default mocked content under the hooks/mock/content folder. If you want your own custom mocked content, you can create a new folder and set it as your mocked content folder using the environment variable MOCK_BASE_PATH which should be an absolute path of your system.


🏷️ Naming Conventions

Nuxt Components

When working with files in the components/ directory, please adhere to the following naming conventions:

  • Component files and directories should be named using PascalCase.
  • Always use multi-word names.
  • Simplify component names where possible, for example, EventsItemCard can be named EventsCard.
  • Group related components in folders when more than one component refers to the same concept.
  • When naming the component .vue files, include the whole path to make it easier to locate the components.
  • Generic components that can be reused across multiple pages should be placed in the components/Ui/ directory.
  • Components specific to a page should be placed in their respective directory, such as components/Events/ for events-specific components.
  • Avoid appending "Section" to component names, as it is usually implied that the component represents a section of the page.

✏️ How to Contribute

Contributions are always welcomed, no matter how large or small. Before contributing, please read the contributing guide and code of conduct.


🗓 Open backlog

We actively maintain our backlog using GitHub Projects. You can view our backlog here.


👩‍💻 Maintainers

Eddybrando Vásquez
Eddybrando Vásquez

🐛💻💬
Randy Tolentino
Randy Tolentino

🐛💻💬

🔗 Connect with Qiskit

qiskit.org's People

Contributors

delapuente avatar abdonrd avatar y4izus avatar dependabot[bot] avatar eddybrando avatar techtolentino avatar ismaelfaro avatar carlosazaustre avatar vabarbosa avatar sooluthomas avatar jaygambetta avatar korgan00 avatar mtreinish avatar frankharkins avatar lerongil avatar kallieferguson avatar asierarranz avatar javabster avatar francabrera avatar paaragon avatar 1ucian0 avatar tansito avatar marinaaisa avatar memolina2323 avatar justjosie avatar nonhermitian avatar diego-plan9 avatar hushaohan avatar tonimc avatar mariacloehb 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.