TRAILAPP is a full-stack web application consisting of a Vue.js frontend and a Node.js backend.
Before you begin, ensure you have met the following requirements:
To get a local copy up and running, follow these steps:
- Clone this repository:
git clone https://github.com/ericet/TRAILAPP.git
- Navigate to the project directory:
cd TRAILAPP
- Install frontend and backend dependencies:
cd Frontend npm install cd ../Backend npm install
To run the application locally, follow these steps:
- Start the frontend:
cd Frontend npm run serve
- Start the backend:
cd Backend npm start
Access the frontend at http://localhost:8080 and the backend at http://localhost:5000.
To run the application using Docker:
- Build the frontend and backend images:
docker-compose build
- Start the containers:
docker-compose up -d
Access the frontend at http://localhost:8080 and the backend at http://localhost:5000.
Contributions are welcome! To contribute to this project:
- Fork this repository.
- Create a new branch for your feature/fix: git checkout -b feature/my-feature.
- Commit your changes:
git commit -am 'Add some feature'
. - Push to the branch:
git push origin feature/my-feature
. - Create a pull request.
This project is licensed under the MIT License.
TRAILAPP是一个全栈Web应用程序,包括Vue.js前端和Node.js后端。
在开始之前,请确保满足以下要求:
要在本地运行副本,请按照以下步骤进行操作:
- 克隆此存储库:
git clone https://github.com/ericet/TRAILAPP.git
- 进入项目目录:
cd TRAILAPP
- 安装前端和后端的依赖项:
cd Frontend npm install cd ../Backend npm install
要在本地运行应用程序,请按照以下步骤进行操作:
- 启动前端:
cd Frontend npm run serve
- 启动后端:
cd Backend npm start
在http://localhost:8080上访问前端,在http://localhost:5000上访问后端。
要使用Docker运行应用程序,请按照以下步骤进行操作:
- 构建前端和后端镜像:
docker-compose build
- 启动容器:
docker-compose up -d
在http://localhost:8080上访问前端,在http://localhost:5000上访问后端。
欢迎贡献!要为此项目做出贡献:
- 分叉此存储库。
- 为您的功能/修复创建新分支:git checkout -b feature/my-feature。
- 提交更改:
git commit -am '添加一些功能'
。 - 推送分支:
git push origin feature/my-feature
。 - 创建拉取请求。
本项目根据MIT许可证许可。