First off, thank you for considering contributing to StockViz! It's people like you that make this project great. We welcome any contributions including bug fixes, enhancements, or new features.
If you encounter any bugs or have suggestions for improvements, please create an issue on GitHub. When reporting an issue, please include:
- A clear and descriptive title.
- A detailed description of the problem or suggestion.
- Steps to reproduce the issue, if applicable.
- Any relevant code snippets, logs, or screenshots.
-
Fork the repository by clicking the "Fork" button on the top right of the GitHub page.
-
Clone your fork to your local machine:
git clone https://github.com/yourusername/stock-charts.git
-
Add the original repository as a remote:
cd edunotify git remote add upstream https://github.com/yourusername/stock-charts.git
-
Navigate to the Server Directory
cd server
-
Install Dependencies
bun install
-
Run the Server
bun dev
The server will be available at
http://localhost:5000
.
-
Navigate to the Client Directory
cd client
-
Create a
.env
FileIn the
client
directory of the project, create a file named .env with the following content:AUTH_SECRET="changeMe" AUTH_GITHUB_ID="<github-id>" AUTH_GITHUB_SECRET="<github-secret>" NEXT_PUBLIC_SERVER_URL="http://localhost:8000" NEXT_PUBLIC_URL="http://localhost:3000" DATABASE_URL="<mongodb>"
-
Install Dependencies
bun install
-
Generate Prisma Schema
npx prisma db push
-
Run the Development Server
bun dev
The client application will be available at
http://localhost:3000
.
-
Navigate to the Fluvio Directory
cd fluvio
-
Install Required Fluvio Package
cdk hub download infinyon/[email protected]
-
Create a Topic
fluvio topic create stocks-sinker
-
Deploy Sinker
cdk deploy start --ipkg ./infinyon-http-source-0.3.8.ipkg -c ./sinker.yml
To see widget open widget/index.html
in root and change its div
id with locally created id and
open in browser.
You will find widget scripts in widget/dist/
to add to your website.
You need to build widget again after any change in widget
folder by:
bun run build
-
Create a new branch for your changes:
git checkout -b feature/your-feature-name
-
Make your changes in the new branch.
-
Ensure your code adheres to the project's coding standards.
-
Test your changes thoroughly.
-
Push your changes to your fork:
git push origin feature/your-feature-name
-
Create a pull request (PR) from your branch to the
main
branch of the original repository. -
In your PR description, include:
- A clear and descriptive title.
- A detailed description of the changes you made.
- Any relevant issue numbers (e.g.,
Closes #123
). - Screenshots or GIFs of the changes, if applicable.
Your pull request will be reviewed by one of the project maintainers. They may ask you to make some changes before merging the PR. Once your changes are approved, your PR will be merged into the main branch.
- Follow the existing code style.
- Write clear, concise, and descriptive commit messages.
- Ensure all new and existing tests pass.
- Add tests for your changes where applicable.
By contributing to StockViz, you agree that your contributions will be licensed under the MIT License.
Thank you for contributing to StockViz!