Add more development instructions to readme
This commit is contained in:
parent
c312276350
commit
1d8af514b0
38
README.md
38
README.md
|
@ -64,22 +64,40 @@ routing, reverse proxy, www/non-www redirect, CDN, PHP (TCP/socket, WordPress, D
|
||||||
* GitHub: [@0xB4LINT](https://github.com/0xB4LINT)
|
* GitHub: [@0xB4LINT](https://github.com/0xB4LINT)
|
||||||
* LinkedIn: [@0xB4LINT](https://www.linkedin.com/in/0xB4LINT/)
|
* LinkedIn: [@0xB4LINT](https://www.linkedin.com/in/0xB4LINT/)
|
||||||
|
|
||||||
## ▶️ Install locally
|
## ▶️ Development
|
||||||
|
|
||||||
1. Clone the repository
|
1. Clone the repository
|
||||||
```sh
|
```sh
|
||||||
git clone https://github.com/digitalocean/nginxconfig.io.git
|
git clone https://github.com/digitalocean/nginxconfig.io.git
|
||||||
```
|
```
|
||||||
|
|
||||||
2. Install NPM packages
|
2. Install NPM packages
|
||||||
```sh
|
```sh
|
||||||
npm ci
|
npm ci
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Run the development server *(with file watchers)*
|
3. Run the development server *(with file watchers)*
|
||||||
```sh
|
```sh
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Open the development site **[localhost:8080](http://localhost:8080)**
|
4. Open the development site **[localhost:8080](http://localhost:8080)**
|
||||||
|
|
||||||
|
5. Lint your code *(eslint & sass-lint)*
|
||||||
|
```sh
|
||||||
|
npm test
|
||||||
|
```
|
||||||
|
|
||||||
|
6. Analyze production bundle size & composition
|
||||||
|
```sh
|
||||||
|
npm run analyze
|
||||||
|
```
|
||||||
|
|
||||||
|
7. Build for production *(to the `dist` directory)*
|
||||||
|
```sh
|
||||||
|
npm run build
|
||||||
|
```
|
||||||
|
|
||||||
## 🤝 Contributing
|
## 🤝 Contributing
|
||||||
|
|
||||||
Contributions are what make the open source community such an amazing place to be learn, inspire, and create.
|
Contributions are what make the open source community such an amazing place to be learn, inspire, and create.
|
||||||
|
|
Loading…
Reference in New Issue