Skip to content

David-hosting/SvivaTeam

Repository files navigation

SvivaTeam

"A Better World Is Made Together"

What is SvivTeam?

This project is an entrepreneurship environmental, social, long-lasting project. Its purpose is to make accessible and efficient the organization of cleaning groups. If until today we organized beach cleaning groups through Facebook, and it was sometimes difficult to find an available group or in an area convenient for everyone. This interface offers a website that will centralize all the organizations in a notification map and thus also establish a faster contact with the nature authorities.

How To Download

  • Step No.1 - Making sure we have:

    • Note: make sure you downloaded the Data storage and processing tool in visual studio
  • Step No.2 - Creating / Opening a folder where the project will be downloaded:
    You can create a folder or open (preferably) an empty folder

  • Stem No.3 - Cloning the repo to desktop:
    After you have opened your folder double click on the path (where it is empty) and wirte in it cmd.
    It should look like this:
    image After this, click enter and a cmd console will open up, then clone the project to the folder using this command: git clone https://github.com/David-hosting/SvivaTeam
    If this is what you are getting then you are good to go:
    image

  • Step No.4 - Restoring the .bak files:
    The .bak files are backups of the SQL databases. In order to restore them we will do:

    • A. Open SQL Server Management Studio

    • B. Select your server be aware that you may have more than one SQL server, so choose the server you to store the databases in and connect.
      צילום מסך 2023-03-17 200638

    • C. Open the server To open or duble click on it or use the (+) button.

    • D. right click on the Databases folder and select Restore Database...
      צילום מסך 2023-03-17 201514

    • E. A window will pop up, change the Source to Device and then on the [...] button.
      צילום מסך 2023-03-17 201751

    • F. Anoter window will pop up, click on Add.
      צילום מסך 2023-03-17 202222

    • G. One more window will pop up, navigate to where the solution is stored, there will be a folder called Databases Backup, open it and copy its path. Paste it in the new window's path then select one of the .bak files and click OK.
      צילום מסך 2023-03-17 203011

    • H. Click OK again.
      צילום מסך 2023-03-17 203327

    • I. Click OK again.
      צילום מסך 2023-03-17 204258

    • J. Repeat stages D. to I. and recover the second file.

  • Step No.6 - Change the SQL database path to your path

    • A. Open the SQL Server Object Explorer. If you don't have it you can select it in the view menu.
    • B. In the SQL Server Object Explorer click on the AuthDb database and copy its connection string.
      צילום מסך 2023-03-17 210333
    • C. Open the appsettings.json file and replace the value of AuthDbContextConnection with your connection string.
      צילום מסך 2023-03-17 210530 צילום מסך 2023-03-17 210738
    • D. Repeat stage B. In order to get the connection string of the main database.
    • E. Open the Resources.resx and replace the value of ConnectionString
      צילום מסך 2023-03-17 211106 צילום מסך 2023-03-17 214124
  • Step No.7 - Contact me at [email protected] for a sendgrid API key
    For security reasons the sendgrid API key was removed from the project. In order for the email sender to work you have to follow these steps:

    • A. After contacting me and reciving the API key open the Resources.resx and add a new value, give it the name of "SendGridAPIKey" and as for the value put in the API key.

You Are Now Good to Go, Enjoy the Project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published