Before you can start contributing, please follow these steps to set up the development environment:
-
Fork the repository:
-
Clone the forked repository:
git clone https://github.com/YOUR_GITHUB_USERNAME/Protocol.git
-
Install the required dependencies:
cd Surfer-Protocol/desktop npm install -
Start the development server:
npm start
-
Navigate to the Python SDK directory:
cd Surfer-Protocol/sdk/python -
Create and activate a virtual environment:
python -m venv venv source venv/bin/activate # On Windows, use: venv\Scripts\activate
-
Install development dependencies:
pip install -r requirements.txt pip install -e . -
Test the package:
python -m surfer_protocol
-
You can now import and use the package in your Python code:
from surfer_protocol import SurferClient client = SurferClient() # Make sure the desktop app is running before testing data = client.get("bookmarks-001")
-
Install the required dependencies:
cd Surfer-Protocol/docs npm install -
Start the development server:
npm run dev
-
Install the required dependencies:
cd Surfer-Protocol/landing npm install -
Start the development server:
npm run dev
This will run the application in development mode, allowing you to test your changes and see the results in real-time.