Skip to content

We are committed to creating a safer community for everyone. Reach out to us for support and guidance whenever you need it.

License

Notifications You must be signed in to change notification settings

shubha987/Suraksha-Sakhi

Repository files navigation

image-banner

Suraksha Sakhi

Suraksha Sakhi is a project aimed at creating a safe and supportive environment for women. It provides a platform for women to connect with trusted individuals who can offer assistance and support in times of need.

Getting Started

To run Suraksha Sakhi on your localhost, follow these steps:

  1. Fork this repository by clicking fork button in upper-right corner

  2. Clone the repository:

git clone https://github.com/your-username/SurakshaSakhi.git
  1. Navigate to the project directory:
cd SurakshaSakhi/mysite
  1. Install the dependencies:
pip install -r requirements.txt
  1. Create a superuser:
python manage.py createsuperuser
  1. Run the development server:
python manage.py runserver
  1. Open your web browser and visit http://localhost:8000 to access Suraksha Sakhi.

Sending Mail through SMTP server

To send mail through an SMTP server in your application, you need to follow these steps: 1.Create an app in your Gmail account:

  • Go to your Google Account settings
  • Click on "Security" in the left sidebar.
  • Scroll down to the "Third-party apps with account access" section and click on "Manage third-party access".
  • Click on "Add app" or "Manage apps"
  • Search for "Suraksha Sakhi" or enter a custom name for your app
  • Click on "Create" or "Next" to generate an app password.
2.Generate an app password:
  • After creating the app, you will be provided with an app password
  • Copy the generated app password as you will need it to authenticate your application

3.Configure your application to use the app password: In the mail.py file do necessary changes:

EMAIL_HOST = 'smtp.gmail.com'
EMAIL_PORT = 587
EMAIL_HOST_USER = '[email protected]'
EMAIL_HOST_PASSWORD = 'your-app-password'
EMAIL_USE_TLS = True
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'

Replace '[email protected]' with your Gmail account email address and 'your-app-password' with the app password you generated.

Contributing

We welcome contributions from the community to make Suraksha Sakhi even better. To contribute, please follow these steps:

  1. Fork the repository on GitHub.

  2. Clone your forked repository:

    git clone https://github.com/your-username/SurakshaSakhi.git
  3. Create a new branch for your feature or bug fix:

    git checkout -b feature/your-feature-name
  4. Make your changes and commit them:

    git commit -m "Add your commit message here"
  5. Push your changes to your forked repository:

    git push origin feature/your-feature-name
  6. Open a pull request on the original repository.

Please ensure that your contributions adhere to our code of conduct and contribution guidelines.

License

This project is licensed under the MIT License.

About

We are committed to creating a safer community for everyone. Reach out to us for support and guidance whenever you need it.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published