###MVC application and API:
- Open command line in MichaelsPlace.sln directory and run
nuget.exe restore
. - Open solution in VS 2015.
- Now we need to get the database in synce. Open the package managed console.
- Run
Update-Database -Force
. - To get the test database in sync, run
Update-Database -ProjectName MichaelsPlace -StartUpProjectName MichaelsPlace.Tests -Force
- Run
- Now you can run the MichaelsPlace project.
###SPA application:
- Install node and npm (https://nodejs.org/en/)
- Open command line in the MichaelsPlace directory:
- Run
npm install
. This will take a while. - Run
jspm install
. This will take a little less time. - Run
gulp watch
. - Open http://localhost:8081/app/index.html in your browser.
The SPA application is embedded in the MVC application, in the /app directory.
/dist - The output directory of the gulp build (equivalent to /bin). It serves as the root path of the SPA.
/build - Build configurations
/src - The source files for the SPA. This is where you do development.
/test - The tests for the SPA
The SPA also owns the .json and .js files in the /app directory.