simplify Layer0 deployment guide (#1727)
* Update layer0.md * Update layer0.md
This commit is contained in:
parent
25ab1bcd59
commit
f4d312ba04
@ -14,19 +14,8 @@ npm i -g @layer0/cli
|
|||||||
```
|
```
|
||||||
|
|
||||||
2. Create a package.json at the root of your project with the following:
|
2. Create a package.json at the root of your project with the following:
|
||||||
```js
|
```bash
|
||||||
{
|
npm init
|
||||||
"name": "zola",
|
|
||||||
"version": "1.0.0",
|
|
||||||
"scripts": {
|
|
||||||
"build": "zola build",
|
|
||||||
"layer0:dev": "0 dev",
|
|
||||||
"layer0:buid": "0 build",
|
|
||||||
"layer0:deploy": "0 deploy"
|
|
||||||
},
|
|
||||||
"dependencies": {},
|
|
||||||
"devDependencies": {}
|
|
||||||
}
|
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Initialize your project with:
|
3. Initialize your project with:
|
||||||
@ -55,7 +44,12 @@ export default new Router().static('public', ({ cache }) => {
|
|||||||
})
|
})
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Deploy with:
|
5. Build your zola app:
|
||||||
|
```bash
|
||||||
|
zola build
|
||||||
|
```
|
||||||
|
|
||||||
|
6. Deploy!
|
||||||
```bash
|
```bash
|
||||||
0 deploy
|
0 deploy
|
||||||
```
|
```
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user