-
-
Notifications
You must be signed in to change notification settings - Fork 28
Local Development Setup
- Git
- .NET 8.0 SDK
- Visual Studio 2022 recommended for best development experience or VS Code
- postgres for the local database
https://git-scm.com/download/win
https://dotnet.microsoft.com/en-us/download/dotnet/8.0
https://www.postgresql.org/download/windows/
- Make sure you don't have an old version already installed
- Use the default user postgres with a password postgres, and the default port of 5432 (if you wish to override any of these settings, override the connection string using user secrets)
- Postgresql master password: Run pgAdmin4 and change it to postgres
dotnet run --project TASVideos/TASVideos.csproj --launch-profile Development
- Install Visual Studio Community 2022 from https://visualstudio.microsoft.com/
- Run Visual Studio installer and select the following:
- ASP.NET and web development
- .NET desktop development
- Clone repository from https://github.com/TASVideos/tasvideos.git
- Open TASVideos.sln
- Select the following project to be built:
- Dev (Generate Sample Data)
- Next time Dev (Sample Data No Recreate) can be used for quicker start up times.
- Install VS Code from https://code.visualstudio.com/Download
- Install C# extension: CTRL+SHIFT+X > C#
- Clone Repository: CTRL+SHIFT+G > Clone Repository > https://github.com/TASVideos/tasvideos.git
- Build TASVideos: CTRL+SHIFT+D > Select TASVideos (Generate Sample Data), click on green arrow to run
- Next time TASVideos (Sample Data No Recreate) can be used for quicker start up times.
Note: If you use Chrome and Demo build, you will need to use https://localhost:5001
https://git-scm.com/download/linux
sudo apt install git
https://docs.microsoft.com/en-us/dotnet/core/install/linux-ubuntu
wget https://packages.microsoft.com/config/ubuntu/20.04/packages-microsoft-prod.deb -O packages-microsoft-prod.deb
sudo dpkg -i packages-microsoft-prod.deb
rm packages-microsoft-prod.deb
sudo apt-get update; sudo apt-get install -y apt-transport-https && sudo apt-get update && sudo apt-get install -y dotnet-sdk-8.0
https://www.postgresql.org/download/linux/ubuntu/
sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get -y install postgresql
- Install VS Code from https://code.visualstudio.com/Download
- Install C# extension: CTRL+SHIFT+X > C#
- Clone Repository: CTRL+SHIFT+G > Clone Repository > https://github.com/TASVideos/tasvideos.git
- Build TASVideos: CTRL+SHIFT+D > Select TASVideos (Generate Sample Data), click on green arrow to run
- Next time TASVideos (Sample Data No Recreate) can be used for quicker start up times.
https://git-scm.com/download/mac
https://dotnet.microsoft.com/en-us/download/dotnet/8.0
https://www.postgresql.org/download/macosx/
- Postgresql master password: Run pgAdmin4 and change it to postgres
- Install Visual Studio Community 2022 from https://visualstudio.microsoft.com/
- Run Visual Studio installer
- Clone repository from https://github.com/TASVideos/tasvideos.git
- Open TASVideos.sln
- Select the following project to be built: TASVideos Demo
If you use Safari and Demo build, you will need to visit https://localhost:5001 and input your username and password to the appearing prompt in order to http://localhost:5000 correctly work
https://code.visualstudio.com/docs/setup/mac
- Install C# extension: CMD+SHIFT+X > C#
- Clone Repository: CTRL+SHIFT+G > Clone Repository > https://github.com/TASVideos/tasvideos.git
- Build TASVideos: CMD+SHIFT+D > Select TASVideos, click on green arrow to run
You want to use the launch profile "Generate Sample Data". This will load a sanitized sub-set of the production data as a file into a local temp folder and then run that to generate sample data. This can take some minutes. After the first successful run of this, you can switch to the profile that does not generate sample data to increase startup time.
All user's passwords are changed to Password1234!@#$ and that should be used when logging into a local instance