"A Better World Is Made Together"
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.
-
Step No.1 - Making sure we have:
- A. Visual Studio
- B. SQL Server Management Studio
- Git & Git Bash
If you do not have one or any of them you can download them here:
Download Visual Studio download link
Download SQL Server Management Studio
Download Git & Git Bash
- 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 itcmd
.
It should look like this:
After this, click enter and acmd
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:
-
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.
-
C. Open the server To open or duble click on it or use the (+) button.
-
D. right click on the
Databases
folder and selectRestore Database...
-
E. A window will pop up, change the Source to
Device
and then on the[...]
button.
-
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 clickOK
.
-
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 theAuthDb
database and copy its connection string.
- C. Open the
appsettings.json
file and replace the value ofAuthDbContextConnection
with your connection string.
- D. Repeat stage
B.
In order to get the connection string of themain
database. - E. Open the
Resources.resx
and replace the value ofConnectionString
- A. Open the
-
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.
- A. After contacting me and reciving the API key open the
You Are Now Good to Go, Enjoy the Project