This is a Next.js project bootstrapped with create-next-app
.
First, run the development server:
-
sudo apt-get update
. -
Install node.js,
sudo apt-get install node.js
. -
Run this command to get the nvm.
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
. -
Restart your terminal.
-
Use nvm update node to version 18.12.1,
nvm install v18.12.1
-
Install npm,
sudo apt install npm
. -
Update npm to version 8.19.2,
sudo npm install -g npm@8.19.2
. -
Download the files,
git clone https://github.com/wellyhsu/emi_frontend.git
user name:
wellyhsu
password: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
-
Enter EMI folder,
cd emi_frontend
-
Install node_modules,
npm install
-
Run the Web,
npm run dev
Open http://localhost:30000 with your browser to see the result.