File tree Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Expand file tree Collapse file tree 6 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 114
114
{{ 'gfm/sharp-scripts/10.md' | githubMarkdown | convertScriptToCodeBlocks }}
115
115
116
116
{{#markdown}}
117
- Which can be run with the `web ` tool:
117
+ Which can be run with the `x ` tool:
118
118
119
119
$ dotnet tool install --global x
120
120
Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ Like [Deno](https://deno.land/manual.html) all remote resources are cached after
44
44
version of the script (where it will still work in an airplane without an internet connection). This cache is maintained
45
45
under a ` .lisp ` folder at your configured Virtual Files provider (that can be deleted to clear any caches).
46
46
47
- For Sharp Scripts or Apps using the ` web ` or ` app ` dotnet tools it's stored in its own cache folder that can be cleared with:
47
+ For Sharp Scripts or Apps using the ` x ` or ` app ` dotnet tools it's stored in its own cache folder that can be cleared with:
48
48
49
49
$ x --clean
50
50
Original file line number Diff line number Diff line change @@ -235,7 +235,7 @@ new ScriptContext {
235
235
}.Init ();
236
236
```
237
237
238
- This is enabled by default in the ` web ` and ` app ` dotnet tools so they can be used in ` #Script ` ** .ss** scripts.
238
+ This is enabled by default in the ` x ` and ` app ` dotnet tools so they can be used in ` #Script ` ** .ss** scripts.
239
239
240
240
Checkout [ GitHubScripts.cs] ( https://github.com/ServiceStack/ServiceStack/blob/master/src/ServiceStack.Common/Script/Methods/GitHubScripts.cs )
241
241
for the full API available. Here's [ GitHub's Gist API] ( https://developer.github.com/v3/gists/#example ) example of creating gists in ` #Script ` :
Original file line number Diff line number Diff line change 195
195
196
196
### Run and watch Lisp Scripts
197
197
198
- The same [Sharp Scripts](/docs/sharp-scripts) functionality for `#Script` is also available to Lisp scripts where you can use the `web ` and `app`
198
+ The same [Sharp Scripts](/docs/sharp-scripts) functionality for `#Script` is also available to Lisp scripts where you can use the `x ` and `app`
199
199
dotnet tools to **run** and **watch** stand-alone Lisp scripts with the `.l` file extension, e.g:
200
200
201
201
$ x run lisp.l
Original file line number Diff line number Diff line change 132
132
133
133
We'll then configure [supervisord](http://supervisord.org/index.html) to further harden the .NET Core App process by having it run under a managed process,
134
134
by [creating a deploy User Account](https://sharpscript.net/docs/deploying-sharp-apps#setup-the-deploy-user-account) and giving it
135
- permission to run the `supervisorctl` and `web ` programs, then change directory to:
135
+ permission to run the `supervisorctl` and `x ` programs, then change directory to:
136
136
137
137
$ cd /etc/supervisor/conf.d
138
138
Original file line number Diff line number Diff line change 100
100
101
101
$ x open redis
102
102
103
- > Every `app` command is substitutable with `web ` to run it within your preferred browser in Windows, macOS or Linux
103
+ > Every `app` command is substitutable with `x ` to run it within your preferred browser in Windows, macOS or Linux
104
104
105
105
### Always Up-To-Date
106
106
212
212
$ app open spirals
213
213
214
214
Spirals in an example of a minimally useful App to explore and generate different spirals with SVG that showcases the productivity and
215
- live Development experience of Sharp Apps where you can create an App from scratch with just a text editor and the `web ` tool, without
215
+ live Development experience of Sharp Apps where you can create an App from scratch with just a text editor and the `x ` tool, without
216
216
a single re-compile or app restart:
217
217
218
218
< iframe width ="896 " height ="525 " src ="https://www.youtube.com/embed/Cf-vstYXrmY " frameborder ="0 " allow ="autoplay; encrypted-media " allowfullscreen > </ iframe >
You can’t perform that action at this time.
0 commit comments