Update README.md about front-end bundle process

This commit is contained in:
Wu Cheng-Han 2016-10-15 14:35:31 +08:00
parent a181b3d11f
commit 7edd39846c
1 changed files with 2 additions and 1 deletions

View File

@ -46,7 +46,8 @@ Get started
2. Enter the directory and type `bin/setup`, which will install npm/bower dependencies and create configs. The setup script is written in Bash, you would need bash as a prerequisite. 2. Enter the directory and type `bin/setup`, which will install npm/bower dependencies and create configs. The setup script is written in Bash, you would need bash as a prerequisite.
3. Setup the configs, see more below 3. Setup the configs, see more below
4. Setup environment variables which will overwrite the configs 4. Setup environment variables which will overwrite the configs
5. Run the server as you like (node, forever, pm2) 5. Build front-end bundle by `npm run build` (use `npm run dev` if you are in development)
6. Run the server as you like (node, forever, pm2)
Upgrade guide Upgrade guide
--- ---