🚀 Quick Start
- Prerequisites
- Get the code
- Install dependencies
- Configure the project
- Run the project
💬 Wechat MP Account
- Register a new Wechat MP
- Get the MP APP ID and APP Secret
- Add a team member
- Fill in MP basic information
- Select MP categories
- MP Account Verification
- File for ICP
- Set up Customer Service Chat
- Link Official Account
💾 Database
- What is BaaS?
- Setup a MINAPP CLOUD account
- Link your MINAPP account to your Wechat MP
- Create a new database table
- Connect your database to your project
🎨 Customization
- Theme and CSS Setup
- Create new pages
- Add new components
💳 Wechat Payment
- Setup a Wechat Pay account
- Connect your Wechat Pay to your MP
- Connect your Wechat Pay to your MINAPP account
🔄 Publishing
- When to publish your MP
- Push your code to Tencent
- Test your MP's beta version
- Publish your MP to Tencent
📚 Resources
- Learning Plans
- Tutorials
- FAQ
🚀 Quick Start
- Prerequisites
- Get the code
- Install dependencies
- Configure the project
- Run the project
💬 Wechat MP Account
- Register a new Wechat MP
- Get the MP APP ID and APP Secret
- Add a team member
- Fill in MP basic information
- Select MP categories
- MP Account Verification
- File for ICP
- Set up Customer Service Chat
- Link Official Account
💾 Database
- What is BaaS?
- Setup a MINAPP CLOUD account
- Link your MINAPP account to your Wechat MP
- Create a new database table
- Connect your database to your project
🎨 Customization
- Theme and CSS Setup
- Create new pages
- Add new components
💳 Wechat Payment
- Setup a Wechat Pay account
- Connect your Wechat Pay to your MP
- Connect your Wechat Pay to your MINAPP account
🔄 Publishing
- When to publish your MP
- Push your code to Tencent
- Test your MP's beta version
- Publish your MP to Tencent
📚 Resources
- Learning Plans
- Tutorials
- FAQ
Setting Up Your Mac for Development
This guide will walk you through setting up your Mac for development, including installing essential tools like Node.js, Yarn, and Git using Homebrew.
Step 1: Install Homebrew
Homebrew is a package manager for macOS that simplifies the installation of software.
- Open the Terminal app.
- Install Homebrew by running the following command: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Verify the installation by running: brew --version
Step 2: Install Node.js
Node.js is a JavaScript runtime used for building server-side and networking applications.
1. Use Homebrew to install Node.js:
brew install node
2. Verify the installation by checking the version:
node --version
npm --version
Step 3: Install Yarn
Yarn is a package manager that helps manage project dependencies efficiently.
- Install Yarn using Homebrew: brew install yarn
- Verify the installation by checking the version: yarn --version
Step 4: Install Git
Git is a version control system for tracking changes in your code.
- Install Git using Homebrew: brew install git
- Verify the installation by checking the version: git --version
Step 5: Additional Setup
Update Homebrew: Keep Homebrew and installed packages up to date:
brew update
brew upgrade
Configure Git: Set up your Git username and email:
git config --global user.name "Your Name"
git config --global user.email "your.email@example.com"
You're All Set!
Congratulations! Your Mac is now ready for development. You can start building amazing projects with Node.js, Yarn, and Git.
