View Code? Open in Web Editor
NEW
right-house房适,一个开源的房屋租赁管理系统,改变传统租房平台中间商的思路,带来P2P租房新模式,租客和房东直接对接。前期提供房东房源发布和租客求租等功能。建立租赁关系后,提供租客交租和房屋报修等功能,房东管理租客信息,维修房屋等功能。终止租赁关系后,租客对房东进行评价评分,提供给后来租客做参考。
Home Page: https://right-house.liuxin-dev.cn/
License: MIT License
JavaScript 46.73%
HTML 0.06%
Vue 50.36%
TypeScript 0.45%
SCSS 2.40%
righthouse's People
Contributors
righthouse's Issues
宝塔搭建服务器推荐最低4G以上、宝塔自己搜一下就不放链接了,此教程只适用于服务端与后端。
弯路我已经走过了,跟着操作就可以成功。不成功就在走一边。
开发栈博主的文档写的很详细,就不叙述了。
宝塔安装成功就开始安装运行环境:Nginx 1.22.1、MySQL 8.0.24、PHP 8.1(以下的版本就不要尝试了,试就是弯路)、phpMyAdmin 5.0(著名Web端MySQL管理工具)、Docker管理器 3.9.2、Redis 7.0.11。
![image](https://private-user-images.githubusercontent.com/47093291/252895267-86da8246-7e07-4a7d-a648-0fd7923e0f7b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2MjM4NzMsIm5iZiI6MTcyMzYyMzU3MywicGF0aCI6Ii80NzA5MzI5MS8yNTI4OTUyNjctODZkYTgyNDYtN2UwNy00YTdkLWE2NDgtMGZkNzkyM2UwZjdiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE0VDA4MTkzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWEyZDNlZDU0MDNjZmUxZjY3NTI2MDk5NjkzOGNlNDg3NGI1ODMxYTM0MmRiOTJhNzk0MzI0YzI2ZTg2ZmU3NzUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.sXR9QpxEKdU3qQzcU4HOoYtsyjNjq2x1_XM2wgNBFJ8)
接下来开始部署
1、新建数据库,填写到config文件中
![image](https://private-user-images.githubusercontent.com/47093291/252897012-079a2c9d-3469-4955-b3f9-26b86890e8a5.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2MjM4NzMsIm5iZiI6MTcyMzYyMzU3MywicGF0aCI6Ii80NzA5MzI5MS8yNTI4OTcwMTItMDc5YTJjOWQtMzQ2OS00OTU1LWIzZjktMjZiODY4OTBlOGE1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE0VDA4MTkzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWM3OGNiYmNlYmEwZDg4ZjA2ZWRhM2Y1NDQ0NDA0NmE0MTZhZTRhMzQ5OGE0NmM3NzkzYTZiZDk2NTVlYTBjMDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.S6nGO4ZPEvPC68EM-bmuZlBp4qvIr-ll8pzrUvGs52k)
2、config中的JWT一定要填写
3、项目放到指定文件夹,添加node项目,运行选择 dev
![image](https://private-user-images.githubusercontent.com/47093291/252896477-3b091fe9-2cda-40e5-aebb-219f4f87cb6b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2MjM4NzMsIm5iZiI6MTcyMzYyMzU3MywicGF0aCI6Ii80NzA5MzI5MS8yNTI4OTY0NzctM2IwOTFmZTktMmNkYS00MGU1LWFlYmItMjE5ZjRmODdjYjZiLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE0VDA4MTkzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBhNzdlYjU4ZDcxZDY2MmUyY2M4ODE1MWMyZWIxNmVhMmY4MzM1NDFlYmUyOGMyN2Y0ZGFhZTlmNDAyYjVmNmYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mN-kPKCB9s4aWLixpgwVgFZMJ44dOnIZt9qDG5ejwJk)
4、DocKer拉取minio镜像、启动
![image](https://private-user-images.githubusercontent.com/47093291/252898092-0b688767-d069-4a4e-87b5-e8a095b067b1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2MjM4NzMsIm5iZiI6MTcyMzYyMzU3MywicGF0aCI6Ii80NzA5MzI5MS8yNTI4OTgwOTItMGI2ODg3NjctZDA2OS00YTRlLTg3YjUtZThhMDk1YjA2N2IxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODE0VDA4MTkzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWNmMTBlZmQwZmZjNjExN2NkYjk0Mzc0M2MxMTMzZTE1ZDM3ZDhmZGJkZjllZTUxNGFjZWIxYzc4YTI2MzBmZmEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.rSLiakeH2oU0geTKuC9SBRwCUY4r-P_kPKfsD4PgeOk)
5、全部成功就可以访问了
搭载在windows,按最低配置,我得到两个uni-app api,在D:\rightHouse-develop\RH-server\config\config.default.js中配置好需要的服务,oss,Nginx,redis都在cmd中运行了,然后用Hbuilder中浏览器打开这几个客户端,但是卡在微信登录上,您看得到我目前的进度吗
搭载在windows,按最低配置,我得到两个uni-app api,在D:\rightHouse-develop\RH-server\config\config.default.js中配置好需要的服务,oss,Nginx,redis都在cmd中运行了,然后用Hbuilder中浏览器打开这几个客户端,但是卡在微信登录上,您看得到我目前的进度吗
![企业微信截图_16909678974352](https://private-user-images.githubusercontent.com/141292036/257983879-44bcf720-8173-41ad-9333-5788b7d539ae.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjM2MjM4NzMsIm5iZiI6MTcyMzYyMzU3MywicGF0aCI6Ii8xNDEyOTIwMzYvMjU3OTgzODc5LTQ0YmNmNzIwLTgxNzMtNDFhZC05MzMzLTU3ODhiN2Q1MzlhZS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwODE0JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDgxNFQwODE5MzNaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1iYzBjYTk2N2ZjNjBjNDgzNDU2MmY2N2U0MWQ3MjI1YzY2MzFjNjdlYWY4OGRkNzk3ZGQxYzMxNWI2MzQxMGYzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.Jcf8YivWB2YKSgUlzlIGTl5mmmwidDG3AvPkAIc1ZmI)
这个排序应该在include外层