-
Notifications
You must be signed in to change notification settings - Fork 0
VS Code Setup
Brik94 edited this page Dec 26, 2018
·
4 revisions
"git clone https://github.com/LostAtlas/Cafoe" then File > Open Folder > Cafoe.
Required: If the following prompt doesn't appear make sure to install the C# extension, you can search for it.
Your File Explorer should look similar.
- Right click "LostAtlasCAH.React" > Open in Terminal
Note: The rest of these instructions will be the same for the Visual Studio Code Instructions - Run command run "npm install" to get the node_modules folder
- Run command "node server.min.js"
- Go to the browser and type in "localhost:3000". The react project should open in browser.
- To close the server use command "Ctr + C" while in the terminal.
Required: You'll also need to install the .Net Core SDK if you plan to run the API Project.
- Right click the 2nd "LostAtlasCAH.API" Folder > Open in Terminal (so you should be in 'Cafoe\LostAtlasCAH.API\LostAtlasCAH.API' file structure).
- Currently the only way I know to get this to run in VSC is by going to the Startup.cs file and commenting out the UseHttpsRedirection() method. Save.
- In the terminal run "dotnet run"
- Redirect to URL: http://localhost:5000/api/values (or whatever we change this to in the specific controller you're looking for).
- FrontEnd Resources
- BackEnd Resources
- Data & Hosting
- Miscellaneous