Skip to content

Commit 15bb70d

Browse files
committed
Docs: README.md
1 parent a19d553 commit 15bb70d

File tree

2 files changed

+23
-23
lines changed

2 files changed

+23
-23
lines changed

README.md

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app).
1+
# Server Remote
22

3-
## Getting Started
3+
Power off or reboot your computer remotely. It designed to support Windows, macOS, and linux, but I tested on Windows and linux.
44

5-
First, run the development server:
5+
This project originally developed for my home server. So there is no authentication or security functions. To be careful using this on public server.
66

7-
```bash
8-
npm run dev
9-
# or
10-
yarn dev
11-
# or
12-
pnpm dev
13-
```
14-
15-
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
16-
17-
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
7+
## How to set up
188

19-
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
9+
1. Install `pm2`
10+
```shell
11+
npm install -g pm2@latest
12+
```
13+
2. Run `pm2`
14+
```shell
15+
pm2 start ecosystem.config.js
16+
```
17+
3. Done!
2018

21-
## Learn More
19+
## How to use
2220

23-
To learn more about Next.js, take a look at the following resources:
21+
1. Access `http(s)://[YOUR DOMAIN]:[YOUR PORT]`.
22+
2. You can see below page
23+
![Main page](/docs/page.png)
24+
3. First button is power off, and second is reboot. So you can power off or reboot your computer remotely using these buttons.
2425

25-
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
26-
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.
26+
> If you set up HTTPS, you can install this page as Progressive Web App.
2727
28-
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!
28+
## Contribution
2929

30-
## Deploy on Vercel
30+
All kind of contribution is welcome!
3131

32-
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
32+
## License
3333

34-
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.
34+
You can use this repository under MIT License.

docs/page.png

8.09 KB
Loading

0 commit comments

Comments
 (0)