Updated 04. Setting eShopOnContainer solution up in a Mac, VS for Mac or with CLI environment (dotnet CLI, Docker CLI and VS Code) (markdown)
parent
b768b04a35
commit
2aec500778
@ -41,6 +41,28 @@ For running just the Docker containers and web apps, you'd just need the .NET Co
|
|||||||
|
|
||||||
But if you want to try the eShopOnContainers mobile app, that requires Xamarin and therefore, the iOS and Android platforms, too. Those mobile platforms are optional for this Wiki walkthrough, though.
|
But if you want to try the eShopOnContainers mobile app, that requires Xamarin and therefore, the iOS and Android platforms, too. Those mobile platforms are optional for this Wiki walkthrough, though.
|
||||||
|
|
||||||
|
## Clone the eShopOnContainers repo
|
||||||
|
|
||||||
|
Open a bash shell and run the following command:
|
||||||
|
|
||||||
|
```
|
||||||
|
$ mkdir MyGitRepos
|
||||||
|
$ cd MyGitRepos
|
||||||
|
$ git clone https://github.com/dotnet-architecture/eShopOnContainers.git
|
||||||
|
$ cd eShopOnContainers
|
||||||
|
```
|
||||||
|
|
||||||
|
With that, you'll have the code at /Users/yourUser/MyGitRepos/eShopOnContainers folder.
|
||||||
|
|
||||||
|
## Open the "eShopOnContainers-ServicesAndWebApps.sln" solution
|
||||||
|
|
||||||
|
Run Visual Studio for Mac and open the solution 'eShopOnContainers-ServicesAndWebApps.sln'.
|
||||||
|
Just for testing the containers and web apps, do NOT open the other solutions, like 'eShopOnContainers.sln' as those solutions will also open the Xamarin projects and that might slow you down.
|
||||||
|
|
||||||
|
After opening the solution, it is recommended to wait for a few minutes as VS will be restoring many NuGet packages and the solution won't be able to compile or run until it gets all the nuGet packages dependencies, in the first place (this time is only needed the first time you open the solution. Next times it is a lot faster).
|
||||||
|
|
||||||
|
This is VS for Mac with the "eShopOnContainers-ServicesAndWebApps.sln" solution.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Option B: Use a CLI environment (dotnet CLI, Docker CLI with the bash shell) and VS Code as plain editor
|
# Option B: Use a CLI environment (dotnet CLI, Docker CLI with the bash shell) and VS Code as plain editor
|
||||||
@ -55,7 +77,7 @@ But if you want to try the eShopOnContainers mobile app, that requires Xamarin a
|
|||||||
|
|
||||||
## Building the application
|
## Building the application
|
||||||
|
|
||||||
Then, open a bash shell and run the fullowing four commands:
|
Then, open a bash shell and run the following four commands:
|
||||||
|
|
||||||
```
|
```
|
||||||
$ git clone https://github.com/dotnet-architecture/eShopOnContainers.git
|
$ git clone https://github.com/dotnet-architecture/eShopOnContainers.git
|
||||||
|
Loading…
x
Reference in New Issue
Block a user