Welcome to the Jaqpot project! Below you'll find information on how to set up, run, and contribute to the development of this project.
Before diving into development, ensure you have the required environment and dependencies installed.
- Node.js (v14+)
- npm (v6+)
- PostgreSQL
- Docker (for running services locally)
-
Clone the repository:
git clone https://github.com/upci-ntua/jaqpot-site.git cd jaqpot-site
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
The main application runs with:
npm run start
This will start the server and other necessary services.
We have introduced Docusaurus to manage our documentation. All the documentation can be found inside the docusaurus/
folder. Docusaurus makes it easy to maintain and expand the existing documentation.
-
To learn how to add or modify documentation, please refer to the Docusaurus official documentation.
-
When you have updated or added new documentation, you can build the docs by navigating to the
docusaurus/
folder and running:npm i cd docusaurus/ npm run build
-
The main website will automatically pick up the updated documentation and display it under the Docs link in the navbar.
We have introduced a blog feature inside the blog/
folder to share updates, tutorials, and news related to Jaqpot.
- Each blog post is organized inside the
blog/(posts)/
folder. The title of each blog post is derived from the folder name. For example, a folder namedmy-new-blog-post
will render as a blog post titled "my-new-blog-post." - Follow the structure of the first post to ensure consistency. Markdown files are fully supported, making it easy to format your posts.
blog/
└── posts/
├── my-first-blog-post/
│ ├── index.md # Markdown file containing the content of the post
│ └── image.png # Optional images or assets for the post
├── another-post/
│ └── index.md
We welcome contributions from the community. Please ensure that you:
- Fork the repository and create your feature branch (
git checkout -b feature/my-feature
). - Commit your changes (
git commit -m 'Add some feature'
). - Push to the branch (
git push origin feature/my-feature
). - Open a pull request.
- Follow the project's code style and conventions.
- Write clear, concise commit messages.
- Add comments to complex or important code blocks.
To run tests, use:
npm run test
Ensure all tests pass before submitting a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.
For any issues, questions, or feedback, please reach out via our contact page.