Giter Club home page Giter Club logo

mentor_mentee_system's Introduction

Mentor Mentee System

This project is a Mentor-Mentee System built using Django. This README will guide you on how to set up your development environment, including creating and activating a virtual environment with pipenv, and installing Django.

Getting Started

Prerequisites

Make sure you have the following software installed on your machine:

  • Python (3.6+)
  • pip (Python package installer)
  • pipenv (Python packaging tool)

Setting Up the Project

  1. Clone the repository

    Open your terminal and clone the project repository:

    git clone https://github.com/ByteBender24/Mentor_mentee_system.git
    cd <your repository>
  2. Install pipenv if not already installed

    If you don't have pipenv installed, you can install it using pip:

    pip install pipenv
  3. Create and activate a virtual environment

    Use pipenv to create and activate a virtual environment:

    pipenv shell

    This command will create a virtual environment in the .venv directory and activate it. You should see your prompt change to indicate that you are now working within the virtual environment.

  4. Install dependencies

    Install the necessary dependencies, including Django, by running:

    pipenv install

    This will install all the packages listed in the Pipfile.

  5. Run the Django development server

    Once the dependencies are installed, you can run the Django development server:

    python manage.py runserver

    Open your web browser and go to http://127.0.0.1:8000 to see your project in action.

Managing the Virtual Environment

  • Activate the virtual environment

    If you have already set up the virtual environment and just need to activate it, run:

    pipenv shell

    Open a new terminal to activate the virtual environment. (Or) once again use pipenv shell to show the path for virtual environment which is of format : C:\Users\Username\.virtualenvs\Mentor_mentee_system-Xslc23KL2

and then use:

1. Git Bash

In Git Bash, you can activate the virtual environment using the source command:

source /c/Users/Username/.virtualenvs/Mentor_mentee_system-Xslc23KL2/Scripts/activate
2. Command Prompt (CMD)

In Command Prompt, you can activate the virtual environment using the activate script:

C:\Users\Username\.virtualenvs\Mentor_mentee_system-Xslc23KL2\Scripts\activate.bat
3. PowerShell

In PowerShell, you can activate the virtual environment using the activate script:

C:\Users\Username\.virtualenvs\Mentor_mentee_system-Xslc23KL2\Scripts\Activate.ps1
  • Deactivate the virtual environment

    To deactivate the virtual environment, simply type exit:

    exit

Additional Commands

  • Install a new package

    To install a new package and add it to your Pipfile, use:

    pipenv install <package-name>
  • Uninstall a package

    To uninstall a package and remove it from your Pipfile, use:

    pipenv uninstall <package-name>
  • Run a script within the virtual environment

    To run any script within the context of the virtual environment without activating it, use:

    pipenv run <command>

    For example, to run the Django development server without activating the environment:

    pipenv run python manage.py runserver

Contributing

If you would like to contribute to this project, please follow these steps:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature-branch).
  3. Make your changes.
  4. Commit your changes (git commit -m 'Add some feature').
  5. Push to the branch (git push origin feature-branch).
  6. Open a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

Contact

If you have any questions or feedback, please open an issue or contact the project maintainer at [[email protected]].

mentor_mentee_system's People

Contributors

bytebender24 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.