当前位置:网站首页>Mobile mall project operation
Mobile mall project operation
2022-06-25 03:46:00 【Stupid in the food】
One 、 Installation environment
Two 、 Create database
The databases are imported in turn litemall-db/sql Database file under
It must be executed in sequence, or an error will be reported !
litemall_schema.sql
litemall_table.sql
litemall_data.sql
1、 Don't worry about the contents in the input box , Click the button with the green up arrow
2、idea In the corresponding sql Right click on the file , Click on show in Explorer Can find sql file
3、 perform sql file , Be sure to execute in sequence
thus , Database creation completed
3、 ... and 、 Start the backend
1、 function litemall-all Medium application
2、 Enter... In the browser http://localhost:8080/wx/index/index
The backend is started successfully .
Four 、 Start the background management front end
1、 Open the command line as Administrator
2、 find litemall-admin The local path of
Right click , Click on show in Explorer, Copy path
3、 Enter... In the command line window litemall-admin Catalog , This is my catalog cd D:\ Wechat applet \litemall-master\litemall-master\litemall-admin
4、 Input npm install
It may be very slow or there may be some mistakes , I have already installed it, so I can't demonstrate it. Please Baidu by yourself .
5、 Enter... After installation npm run dev
Wait a minute , Successful launch
5、 ... and 、 Download wechat developer tools , And register
Be careful : Only the structure without pictures will be tested with mobile phones , Because the access path of the back-end server is localhost, I don't know how to change .........
1、 modify wx Module appid,appid You applied for it yourself , If you use my back, you may make mistakes
hold “appid”: “xxxxxx”, Change it to yours appid
1、 Import the project
2、 Import litemall-wx Of course · The local path , How to get his local path is mentioned above
3、 Use real machine debugging , To use pc Terminal debugging , No pictures are displayed on the mobile phone , I don't know why
6、 ... and 、 Project detail documentation
边栏推荐
- 大咖说*计算讲谈社|如何提出关键问题?
- We media do not know how to realize it? Sharing of 7 major realization methods
- 网上开户股票安全吗?怎么开户呢?
- 程序员真人秀又来了!呼兰当主持挑灯狂补知识,SSS大佬本科竟是药学,清华朱军张敏等加入导师团...
- Is it safe to open an account online? How to open an account?
- 同花顺证券开户安全吗
- There is the word "Internet" in the concept of industrial Internet, but it is an existence that is not related to the Internet
- 协作+安全+存储,云盒子助力深圳爱德泰重构数据中心
- redis
- Is it safe to open a stock account with the customer's haircut account link? Tell me what you know
猜你喜欢
孙武玩《魔兽》?有图有真相
Sun Wu plays Warcraft? There is a picture and a truth
MySQL根据表前缀批量修改、删除表
Tencent's open source project "Yinglong" has become a top-level project of Apache: the former long-term service wechat payment can hold a million billion level of data stream processing
TCC mode explanation and code implementation of Seata's four modes
Tencent Open Source Project "Yinglong" est devenu un projet Apache de haut niveau: l'ancien Service à long terme Wechat payment, peut maintenir un million de milliards de niveaux de traitement de flux
騰訊開源項目「應龍」成Apache頂級項目:前身長期服務微信支付,能hold住百萬億級數據流處理...
【Rust投稿】捋捋 Rust 中的 impl Trait 和 dyn Trait
MySQL modifies and deletes tables in batches according to the table prefix
Collaboration + Security + storage, cloud box helps Shenzhen edetai restructure its data center
随机推荐
Is it safe to open an account on the compass? Is it reliable?
Gold medal scheme of kaggle patent matching competition post competition summary
Apple's legendary design team disbanded after jobs refused to obey cook
程序猿职业发展9项必备软技能
Internet Explorer died, and netizens started to build a true tombstone
可能是拿反了的原因
协作+安全+存储,云盒子助力深圳爱德泰重构数据中心
指南针在上面开户安全吗?靠谱吗?
Single case of hungry and lazy mode
Cloud native database vs traditional database
The programmer reality show is coming again! Hulan, as the host, carried the lamp to fill the knowledge. The SSS boss had a bachelor's degree in pharmacy. Zhu Jun and Zhang Min from Tsinghua joined th
2022年海外电商运营三大关键讲解
Sun Wu plays Warcraft? There is a picture and a truth
How to play well in the PMP Exam?
How does the administrator prohibit another person from kicking himself?
Is it safe to open an account online? Online and other answers
PHP uses getid3 to obtain the duration of MP3, MP4, WAV and other media files
IE寿终正寝,网友们搞起了真·墓碑……
TensorFlow,危!抛弃者正是谷歌自己
Why can banana be a random number generator? Because it is the "king of radiation" in the fruit industry