官术网_书友最值得收藏!

Setting up your development environment

In this section, we show you how to download the source code from GitHub and run the A1 electronics e-commerce application. It is assumed the user has the following packages installed in their development environment:

The following instructions are for mac OS X but not limited to, they can also be used for Windows and Linux with minor or no modifications. It is assumed the readers have familiarity with the tools and are able to compile and run code from STS. This application is developed using Spring framework 4.x and Java 1.8.

Let's get started:

  1. To begin with, create a folder a1electronics in your preferred workspace:
mkdir a1electronics

Next, we need to download the source code from the GitHub repository.

  1. Switch to the created folder a1electronics and clone the source code from the Git repository located at https://github.com/a1electronics/ecommerce.
git clone https://github.com/a1electronics/ecommerce
  1. Now you have the source code. The next step is to import the project in Eclipse or STS or, if you are one of the impatient types, you can run it directly from the command line.
  1. To import the project into STS, you will need to go to menu FileImport and then select Existing Maven Projects as shown here and click on Next:
  1. In the next step shown in the following figure, you will need to point to the folder where you checked out the application from the Git repository, as described in the earlier section. Clicking on Finish will successfully import your project into STS:
主站蜘蛛池模板: 遂溪县| 耒阳市| 广宗县| 灯塔市| 舟曲县| 江安县| 龙游县| 乃东县| 苏尼特右旗| 大化| 北流市| 敖汉旗| 安远县| 皮山县| 兰坪| 木兰县| 紫金县| 临桂县| 武穴市| 远安县| 京山县| 滨州市| 西昌市| 夏河县| 西和县| 美姑县| 抚州市| 合肥市| 界首市| 乐平市| 沂水县| 定兴县| 丽水市| 阳城县| 新巴尔虎右旗| 阿城市| 神木县| 布拖县| 叙永县| 尤溪县| 米泉市|