-
-
Notifications
You must be signed in to change notification settings - Fork 29
Local Development Setup
- Git
- .NET Core 5.0 SDK
- Visual Studio recommended for best development experience or VSCode
- postgres for the local database or MSSQL from Visual Studio
https://git-scm.com/download/win
https://dotnet.microsoft.com/download/dotnet/5.0
https://www.postgresql.org/download/windows/ 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)
- Install Visual Studio Community 2019 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:
- Postgres
- Use the Dev Postgres profiles. This will better mimic deployed environments
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
- Postgresql master password: Run pgAdmin4 and change it to postgres
- Build TASVideos: CTRL+SHIFT+D > Select TASVideos, click on green arrow to run
- If you use Chrome and Demo build, you will need to use https://localhost:5001
http://localhost:5000 won't work because of Chrome's default security settings.
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 install -y apt-transport-https \
sudo apt-get install -y dotnet-sdk-5.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
You can download it with Ubuntu Software.
- Install C# extension: CTRL+SHIFT+X > C#
- Clone Repository: CTRL+SHIFT+G > Clone Repository > https://github.com/TASVideos/tasvideos.git
- Postgresql master password:
sudo -u postgres psql postgres
\password postgres
- Build TASVideos: CTRL+SHIFT+D > Select TASVideos, click on green arrow to run
https://git-scm.com/download/mac
https://dotnet.microsoft.com/download/dotnet/5.0
https://www.postgresql.org/download/macosx/
- Install Visual Studio Community 2019 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
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
- Postgresql master password: Run pgAdmin4 and change it to postgres
- Build TASVideos: CMD+SHIFT+D > Select TASVideos, click on green arrow to run
- 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