Go to file
Randy a32b3525ef
feat(readme): update w/ deprecation statement (#3667)
* feat(readme): update w/ deprecation statement

* Update README.md

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>

---------

Co-authored-by: Luciano Bello <bel@zurich.ibm.com>
2024-05-17 12:19:02 +02:00
.github Update CODEOWNERS (#3662) 2024-04-26 10:48:26 -07:00
assets/scss feat(alchemer): remove alchemer survey (#3648) 2024-02-14 10:19:03 +01:00
components feat(alchemer): remove alchemer survey (#3648) 2024-02-14 10:19:03 +01:00
composables fix: multiple TypeScript issues (#3631) 2024-01-17 15:58:16 +01:00
constants fix: multiple TypeScript issues (#3631) 2024-01-17 15:58:16 +01:00
content/fall-fest-events chore(deps-dev): bump prettier from 2.8.8 to 3.1.1 (#3603) 2024-01-02 15:48:09 +01:00
deploy Update static-sites.txt 2023-11-29 12:27:29 +01:00
hooks fix: multiple TypeScript issues (#3631) 2024-01-17 15:58:16 +01:00
layouts feat(alchemer): remove alchemer survey (#3648) 2024-02-14 10:19:03 +01:00
pages fix: multiple TypeScript issues (#3631) 2024-01-17 15:58:16 +01:00
plugins fix: multiple TypeScript issues (#3631) 2024-01-17 15:58:16 +01:00
public chore: remove index page (#3623) 2024-01-10 17:28:04 +01:00
tests/hooks fix: multiple TypeScript issues (#3631) 2024-01-17 15:58:16 +01:00
types fix: multiple TypeScript issues (#3631) 2024-01-17 15:58:16 +01:00
utils 3206 eventcard limit description lengths (#3484) 2024-01-17 08:55:10 +01:00
.env.example feat(airtable): use access token (#3604) 2023-12-26 15:55:56 +01:00
.eslintrc.js style: configure lint for Nuxt 3 (#2978) 2023-02-15 15:20:14 +01:00
.gitignore 29th-nov-update (#3599) 2023-11-29 10:44:36 +01:00
.npmrc feat: nuxt 3 minimal working app (#2971) 2023-02-13 17:39:59 +01:00
.stylelintrc.js style: fix lint issues (#3088) 2023-04-03 12:11:56 +02:00
ARCHITECTURE.md feat(alchemer): remove alchemer survey (#3648) 2024-02-14 10:19:03 +01:00
CODE_OF_CONDUCT.md style: configure lint for Nuxt 3 (#2978) 2023-02-15 15:20:14 +01:00
CONTRIBUTING.md Turn off PR preview (#3651) 2024-03-14 12:18:08 -04:00
Dockerfile feat(airtable): use access token (#3604) 2023-12-26 15:55:56 +01:00
LICENSE.txt [work in progress] New website 2018-06-30 00:37:09 +02:00
README.md feat(readme): update w/ deprecation statement (#3667) 2024-05-17 12:19:02 +02:00
SECURITY.md feat: Create SECURITIY.md (#2979) 2023-02-17 10:00:01 +01:00
error.vue 29th-nov-update (#3599) 2023-11-29 10:44:36 +01:00
nginx.preview.conf new preview build to generate static site (#3339) 2023-06-15 12:46:16 +02:00
nuxt.config.ts feat(alchemer): remove alchemer survey (#3648) 2024-02-14 10:19:03 +01:00
package-lock.json chore(deps-dev): bump @carbon/type from 11.22.0 to 11.25.0 (#3633) 2024-02-02 15:29:24 +01:00
package.json chore(deps-dev): bump @carbon/type from 11.22.0 to 11.25.0 (#3633) 2024-02-02 15:29:24 +01:00
tsconfig.json feat: adjust nuxt configuration (#2967) 2023-02-10 13:35:43 +01:00
vitest.config.ts refactor: setup Coveralls in Nuxt 3 (#3085) 2023-03-31 16:57:49 +02:00

README.md

[!IMPORTANT] This repository is unmaintained and the content in qiskit.org has been superseded by the IBM Quantum | Community page. These source files are no longer maintained and may contain omissions or outdated information. Contributions to this repo are no longer accepted.


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

Home page · Events · Advocates · Documentation


Table of Contents


🚀 Get Up and Running

  1. Download this repository and go to its folder

    git clone git@github.com: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.



🔗 Connect with Qiskit