update frontend README.md
This commit is contained in:
parent
b0027575b6
commit
82bd76618c
@ -1,4 +1,19 @@
|
|||||||
# Forum Frontend
|
# Forum Frontend
|
||||||
Should be extremely simple to start with no styling.
|
|
||||||
|
|
||||||
Node.js with a nice framework should be the ultimate goal, but could just do simple HTML and JS by hand for now.
|
## Development
|
||||||
|
To start the frontend in development mode and serve on http://localhost:3000:
|
||||||
|
```shell
|
||||||
|
npm run start
|
||||||
|
```
|
||||||
|
|
||||||
|
## Production
|
||||||
|
```shell
|
||||||
|
# Install serve
|
||||||
|
npm install -g serve
|
||||||
|
|
||||||
|
# Build for production
|
||||||
|
npm run build
|
||||||
|
|
||||||
|
# Serve
|
||||||
|
serve -s --no-clipboard build
|
||||||
|
```
|
||||||
|
Loading…
Reference in New Issue
Block a user