- Запустить Visual Studio.
- Открыть "SQL Server Object Explorer".
- Найти "(localdb)\MSSQLLocalDB".
- Добавить новую базу данных с именем "KatlaDB".
- Откройте KatlaSport.sln в Visual Studio. Приложение состоит из нескольких проектов:
- Откройте Solution Explorer.
- Установите KatlaSport.WebApi как "Startup Project"
- Открыть Solution Explorer. Открыть меню для Solution 'KatlaSport'. Restore NuGet packages.
- Открыть Solution Explorer. Открыть меню для Solution 'KatlaSport'. Build solution.
- Меню "Debug\Start Debugging" (Alt+D, Alt+S).
- Откроется браузер на странице Swagger.
- Перейти в каталог KatlaSportNg и собрать проект.
D:\artlogic-lab\katla-sport-ng
$ cd KatlaSportNg
D:\artlogic-lab\katla-sport-ng\KatlaSportNg
$ ng build
Date: 2018-06-08T13:25:20.060Z
Hash: e1b9cf821744cf58374d
Time: 16616ms
chunk {main} main.js, main.js.map (main) 107 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 227 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.4 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 199 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 4.11 MB [initial] [rendered]
- Запустить Angular Live Development Server.
D:\artlogic-lab\katla-sport-ng\KatlaSportNg
$ ng serve
** Angular Live Development Server is listening on localhost: 4200, open your browser on http://localhost:4200/ **
Date: 2018-06-08T13:25:58.588Z
Hash: f85abc281ec234e5936b
Time: 13447ms
chunk {main} main.js, main.js.map (main) 108 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 227 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 5.4 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 199 kB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 4.43 MB [initial] [rendered]
i 「wdm」: Compiled successfully.
- Открыть в браузере страницу localhost:4200.