OnionArch
A .NET Core demo application which uses the Onion Architecture
파일 탐색기
최종 버전 다운로드 (.zip)- BaseAuditClass.cs
- Book.cs
- BookSeries.cs
- Series.cs
- Onion.Data.csproj
- BookMap.cs
- SeriesMap.cs
- 20170924124322_InitialMigration.cs
- 20170924124322_InitialMigration.Designer.cs
- DataContextModelSnapshot.cs
- DataContext.cs
- DataRepository.cs
- IRepository.cs
- ChangeTrackerExtentions.cs
- DbContextExtensions.cs
- DatabaseSeeder.cs
- 00000000000000_CreateIdentitySchema.cs
- 00000000000000_CreateIdentitySchema.Designer.cs
- ApplicationDbContextModelSnapshot.cs
- AppIdentityDbContext.cs
- ApplicationUser.cs
- ConfigurationBase.cs
- DatabaseConfiguration.cs
- DbContextFactory.cs
- Onion.Repo.csproj
- IBookSeriesService.cs
- IBookService.cs
- IEmailSender.cs
- ISeriesService.cs
- BookSeriesService.cs
- BookService.cs
- EmailSender.cs
- Onion.Service.csproj
- SeriesService.cs
- EmailSenderExtensions.cs
- UrlHelperExtensions.cs
- ExternalLoginViewModel.cs
- ForgotPasswordViewModel.cs
- LoginViewModel.cs
- LoginWith2faViewModel.cs
- LoginWithRecoveryCodeViewModel.cs
- RegisterViewModel.cs
- ResetPasswordViewModel.cs
- AccessDenied.cshtml
- AccountController.cs
- ConfirmEmail.cshtml
- ExternalLogin.cshtml
- ForgotPassword.cshtml
- ForgotPasswordConfirmation.cshtml
- Lockout.cshtml
- Login.cshtml
- LoginWith2fa.cshtml
- LoginWithRecoveryCode.cshtml
- Register.cshtml
- ResetPassword.cshtml
- ResetPasswordConfirmation.cshtml
- SignedOut.cshtml
- About.cshtml
- Contact.cshtml
- HomeController.cs
- Index.cshtml
- ChangePasswordViewModel.cs
- EnableAuthenticatorViewModel.cs
- ExternalLoginsViewModel.cs
- GenerateRecoveryCodesViewModel.cs
- IndexViewModel.cs
- RemoveLoginViewModel.cs
- SetPasswordViewModel.cs
- TwoFactorAuthenticationViewModel.cs
- _Layout.cshtml
- _ManageNav.cshtml
- _StatusMessage.cshtml
- _ViewImports.cshtml
- ChangePassword.cshtml
- Disable2fa.cshtml
- EnableAuthenticator.cshtml
- ExternalLogins.cshtml
- GenerateRecoveryCodes.cshtml
- Index.cshtml
- ManageController.cs
- ManageNavPages.cs
- ResetAuthenticator.cshtml
- SetPassword.cshtml
- TwoFactorAuthentication.cshtml
- _Layout.cshtml
- _LoginPartial.cshtml
- _ValidationScriptsPartial.cshtml
- Error.cshtml
- _ViewImports.cshtml
- _ViewStart.cshtml
- ErrorViewModel.cs
- launchSettings.json
- site.css
- site.min.css
- banner1.svg
- banner2.svg
- banner3.svg
- banner4.svg
- site.js
- site.min.js
- bootstrap-theme.css
- bootstrap-theme.css.map
- bootstrap-theme.min.css
- bootstrap-theme.min.css.map
- bootstrap.css
- bootstrap.css.map
- bootstrap.min.css
- bootstrap.min.css.map
- glyphicons-halflings-regular.eot
- glyphicons-halflings-regular.svg
- glyphicons-halflings-regular.ttf
- glyphicons-halflings-regular.woff
- glyphicons-halflings-regular.woff2
- bootstrap.js
- bootstrap.min.js
- npm.js
- .bower.json
- LICENSE
- jquery.js
- jquery.min.js
- jquery.min.map
- .bower.json
- LICENSE.txt
- additional-methods.js
- additional-methods.min.js
- jquery.validate.js
- jquery.validate.min.js
- .bower.json
- LICENSE.md
- .bower.json
- jquery.validate.unobtrusive.js
- jquery.validate.unobtrusive.min.js
- app.bundle.js
- favicon.ico
- appsettings.Development.json
- appsettings.json
- bundleconfig.json
- ConfigureContainerExtentions.cs
- Dockerfile
- FeatureLocationExpander.cs
- Onion.Web.csproj
- package-lock.json
- package.json
- Program.cs
- Startup.cs
- webpack.assets.js
- webpack.config.js
- template.json
- .dockerignore
- .gitignore
- appveyor.yml
- Code-of-Conduct.md
- commands.md
- Dockerfile
- LICENSE
- logo.svg
- NuGetReadme.md
- onionArch-nuget-logo.png
- OnionArch.nuspec
- onionArch.png
- OnionArch.sln
- README.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/GaProgMan/OnionArch
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd OnionArch
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Docker
쉬움 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- Docker Desktop 컨테이너를 빌드하고 실행하려면 필요합니다. 설치 후 실행해서 백그라운드에 켜두세요.
docker build -t onionarch .
Dockerfile을 기반으로 실행 가능한 이미지를 빌드합니다.
docker run -p 8080:80 onionarch
빌드된 이미지를 실제 컨테이너로 실행합니다.
터미널에 docker compose ps 를 입력해 컨테이너들이 Up 상태인지 확인하세요. README에 포트 번호가 적혀있다면 브라우저에서 http://localhost:포트번호 로 접속해보세요.
3. .NET
보통dotnet restore
프로젝트에 필요한 패키지를 내려받습니다.
dotnet ef migrations add CreateIdentitySchema -c AppIdentityDbContext -p ../Onion.Repo/Onion.Repo.csproj -s Onion.Web.csproj
이 명령어를 터미널에 그대로 입력해 실행하세요.
dotnet ef migrations add InitialMigration -c DataContext -p ../Onion.Repo/Onion.Repo.csproj -s Onion.Web.csproj
이 명령어를 터미널에 그대로 입력해 실행하세요.
dotnet ef database update -c DataContext -p ../Onion.Repo/Onion.Repo.csproj -s Onion.Web.csproj
이 명령어를 터미널에 그대로 입력해 실행하세요.
dotnet ef database update -c AppIdentityDbContext -p ../Onion.Repo/Onion.Repo.csproj -s Onion.Web.csproj
이 명령어를 터미널에 그대로 입력해 실행하세요.
dotnet run 실행 후 터미널에 나타나는 안내 메시지나 주소를 확인하세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
4. Node.js
쉬움사전 준비물
npm i
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm run build
배포용으로 코드를 최적화해서 빌드 파일을 생성합니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
