Giter Site home page Giter Site logo

Startup Help File Needed about shootr HOT 11 OPEN

ntaylormullen avatar ntaylormullen commented on July 20, 2024
Startup Help File Needed

from shootr.

Comments (11)

BrennanConroy avatar BrennanConroy commented on July 20, 2024 1

Should be good now 😄

from shootr.

NTaylorMullen avatar NTaylorMullen commented on July 20, 2024

@BrennanConroy could you share some guidance?

from shootr.

BrennanConroy avatar BrennanConroy commented on July 20, 2024

Looks like the current code doesn't work, I'll push a quick fix to my fork.

from shootr.

nrcionline avatar nrcionline commented on July 20, 2024

Yes, that fixed it - at least when I run from VS. How do I start it outside of VS (what do I type into the browser?) The best I know would be to go to localhost/shootr where shootr points to the wwwroot, but this results in the same hanging (see picture).
shootr

from shootr.

BrennanConroy avatar BrennanConroy commented on July 20, 2024

Just try http://localhost:<port> you shouldn't need to navigate to a specific path

from shootr.

nrcionline avatar nrcionline commented on July 20, 2024

Okay. Which port? How do I define which port? Don't I have to get the program running for it to be listening on a port? The compiler only creates a .dll, not an executable. So, I'm confused as to how to start the program. Or if a website, don't I have to create an entry in IIS for the website and define a port? But then where do I point the website? All I've got is a default website that responds to the default port (80).

I found this file, but the urls don't work (I get a cannot connect which means nothing is there):
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:64414/",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"ShootR": {
"commandName": "Project",
"launchBrowser": true,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"applicationUrl": "http://localhost:64415/"
}
}
}

from shootr.

BrennanConroy avatar BrennanConroy commented on July 20, 2024

When you dotnet run you should get some console output that says what port the app is listening on

from shootr.

nrcionline avatar nrcionline commented on July 20, 2024

That's helping me get closer. I've looked up the syntax for dotnet run, but isn't there a bat file with the command and the necessary arguments in it? What parameters do I pass to dotnet run to get it to work?

from shootr.

BrennanConroy avatar BrennanConroy commented on July 20, 2024

All you should need to do is go to the folder with the .csproj and run dotnet run. Assuming you have dotnet installed https://dotnet.microsoft.com/download

from shootr.

nrcionline avatar nrcionline commented on July 20, 2024

I can see how that starts everything and it at least pulls up now. I didn't change any code, but now it is hanging like it was before you made your fix. It hangs whether I use VS to start it, or I start from the command line with dotnet run. I've looked at main.js and it has your changes in it still and I've rebuilt the code several times. Still hangs. Let me know if you have any ideas. Do I need to clean out old files?

from shootr.

nrcionline avatar nrcionline commented on July 20, 2024

Apparently a firefox caching problem. I can run it on Edge and Chrome.
Thanks for your help!

from shootr.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.