Skip to content

Latest commit

 

History

History
112 lines (72 loc) · 3.63 KB

CONTRIBUTING.md

File metadata and controls

112 lines (72 loc) · 3.63 KB

Contributing Guide

Table of Contents:

🚀 Getting Started

When contributing to VLab Client, it's good to know our best practices, tips, and tricks. VLab Client is built using React-JavaScript. Uses Material UI components and fetches the resources from the service application.

Prerequisites

It's recommended that you have a basic knowledge of how to work with the MERN stack, before actually contributing to it. Of course, if you're not familiar with the stack, you can always open an issue to express your opinions.

Software requirements:

Starting Service Application

If you're contributing to the pages related to the subjects and experiments, you'll need to have the service application cloned and have some dummy data to test as well.

Steps to follow to quickly clone and get started with the Service Application:

Fork and Clone the Service Repo:

git clone https://github.com/<your-github-username>/SRMIST-VLab-Service

Install All Dependencies:

npm install

Add Required Envs:

Since you'll be working in development, create a .env.development in the root of your service application and add the following contents to the file.

NODE_ENV="<node environment>"
DB_URL="<mongodb url here>"
CLIENT_URL="<client url here>"
SERVER_URL="<server url here>"

Add Dummy data to Your Database:

In your MongoDB, there should be two collections, experiments and subjects, download the dummy data below and import them into the respective collections. Make sure to download the latest version and use them.

Start Your Application:

npm run start:dev

The service application should run on http://localhost:5000.

Starting the Client Application

Fork and Clone the Client Repo:

git clone https://github.com/<your-github-username>/SRMIST-VLab-Client

Install All Dependencies:

npm install --legacy-peer-deps

Start Your Application:

npm run start

❓ How to Contribute?

📐 Standards and Guidelines

🗡️ Forking the Project

🐰 Basic Contributing Guidelines

🤖 Advanced Contributing Guidelines

👾 Creating a Pull Request

🐙 Merging a Pull Request

❓ Questions

For any queries about this project, or there's some issue that you're unable to resolve, feel free to reach out to Kunal Keshan.