Skip to content

Latest commit

 

History

History
88 lines (53 loc) · 1.35 KB

File metadata and controls

88 lines (53 loc) · 1.35 KB

⚙️ Local Setup Instructions

Follow the steps below to get the project running on your local machine:


✅ 1. Clone the Repository

git clone https://github.com/your-org/xenara-ml-core.git
cd xenara-ml-core

🧪 2. Create and Activate a Virtual Environment

On macOS/Linux:

python3 -m venv venv
source venv/bin/activate

On Windows:

python -m venv venv
venv\Scripts\activate

📦 3. Install Project Dependencies

pip install -r requirements.txt

🚀 4. Run the Application with Uvicorn

Start the FastAPI server using:

uvicorn main:app --reload

You should see output indicating the app is running.


🌐 5. Access the API Docs

Once the server is running, open your browser and go to:

http://127.0.0.1:8000/docs

You’ll see the interactive Swagger UI where you can test all the API endpoints.


🧼 6. Deactivate the Virtual Environment (Optional)

When you're done working:

deactivate

✅ Next Steps

Push your changes to a new branch on the remote:

git push origin your-feature-branch

Create a Pull Request to the dev branch once your changes are ready for review.


Would you like this wrapped into a downloadable `setup.md` file or added to a full project documentation structure?