Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 635 Bytes

README.md

File metadata and controls

24 lines (21 loc) · 635 Bytes

Pro-Trades

Microsoft .NET 8.0 C# implementation of Pro-Trades Investment Guidance.

# docker psql setup
docker-compose up
docker exec -it pro-trades-postgres-1 /bin/bash
psql -h localhost -p 5432 -d ptdb -U root
CREATE USER postgres WITH PASSWORD 'root';
ALTER ROLE postgres WITH SUPERUSER;
\quit
exit

# dotnet migration
sudo su
apt update && apt upgrade dotnet-sdk-8.0
dotnet tool install --global dotnet-ef --version 8.0.8
echo "export PATH=\"$PATH:/home/root/.dotnet/tools\"" >> ~/.bash_profile
source ~/.bash_profile
dotnet ef database update
dotnet clean && dotnet build && dotnet run
exit