mirror of
https://github.com/fosrl/docs.git
synced 2025-05-13 05:40:41 +01:00
Update readme; basic changes
This commit is contained in:
parent
75ded0b2a8
commit
9459924f92
1 changed files with 4 additions and 19 deletions
23
README.md
23
README.md
|
@ -5,41 +5,26 @@ This website is built using [Docusaurus](https://docusaurus.io/), a modern stati
|
|||
### Installation
|
||||
|
||||
```
|
||||
$ yarn
|
||||
$ npm i
|
||||
```
|
||||
|
||||
### Local Development
|
||||
|
||||
```
|
||||
$ yarn start
|
||||
$ cd packages/docusaurus/
|
||||
$ npm run dev
|
||||
```
|
||||
|
||||
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
|
||||
|
||||
### Build
|
||||
|
||||
```
|
||||
$ yarn build
|
||||
```
|
||||
|
||||
This command generates static content into the `build` directory and can be served using any static contents hosting service.
|
||||
|
||||
### Deployment
|
||||
|
||||
Using SSH:
|
||||
|
||||
```
|
||||
$ USE_SSH=true yarn deploy
|
||||
$ npx sst deploy --stage prod
|
||||
```
|
||||
|
||||
Not using SSH:
|
||||
|
||||
```
|
||||
$ GIT_USER=<Your GitHub username> yarn deploy
|
||||
```
|
||||
|
||||
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
|
||||
|
||||
# License
|
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
Loading…
Reference in a new issue