Skip to content

Latest commit

 

History

History
40 lines (37 loc) · 1.08 KB

README.md

File metadata and controls

40 lines (37 loc) · 1.08 KB

Omega Project

After Create Omega directory run these commands to create project:

cd ./Omega
mkdir App 
cd ./App
dotnet new web
cd ..\
dotnet new sln
dotnet sln add .\App
cd ./App
dotnet run
  • Modify launchSettings.json in \Omega\App\Properties\launchSettings.json directory and remove https from applicationUrl ;
  • Modify your Startup.cs and write your script (in this case Added a new MapGet and context.Response to POW 2 entities)

Quickstart Docker time:

Start omega using:

docker run -it -p 5000:80 --rm ghcr.io/rfinland/omega:master

Then

curl "http://localhost:5000/POW?a=2&b=3"

Set your Dsn to Program.cs and to catching exception on your Sentry Server :

curl "http://localhost:5000/Exception"

Put your FrontEnd file in :/root/dotnet/Omega/ then:

docker run -it -p 5000:80 -v /root/dotnet/Omega/:/app/FrontEnd --rm ghcr.io/rfinland/omega:master

To setting up the DSN link:

docker run -it -p 5000:80 -v /root/dotnet/Omega/:/app/FrontEnd -e SENTRY_DSN="Your_Link_Here" --rm ghcr.io/rfinland/omega:master

here you go