Mercurial Hosting > luan
changeset 1576:13135e289b50
domain change
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 28 Jan 2021 20:47:39 -0700 |
parents | 0160650180bc |
children | 60e5c324adf9 |
files | examples/blog/push-local.sh examples/blog/src/lib/Db.luan website/push-local.sh website/push.sh website/src/examples/upload-and-email.html.luan website/src/index.html website/src/tutorial.html |
diffstat | 7 files changed, 8 insertions(+), 13 deletions(-) [+] |
line wrap: on
line diff
diff -r 0160650180bc -r 13135e289b50 examples/blog/push-local.sh --- a/examples/blog/push-local.sh Wed Jan 27 15:31:26 2021 -0700 +++ b/examples/blog/push-local.sh Thu Jan 28 20:47:39 2021 -0700 @@ -1,1 +1,1 @@ -luan luan:host/push.luan blog.me.luan.ws word src 2>&1 | tee err +luan luan:host/push.luan blog.me.luan.software word src 2>&1 | tee err
diff -r 0160650180bc -r 13135e289b50 examples/blog/src/lib/Db.luan --- a/examples/blog/src/lib/Db.luan Wed Jan 27 15:31:26 2021 -0700 +++ b/examples/blog/src/lib/Db.luan Thu Jan 28 20:47:39 2021 -0700 @@ -13,15 +13,10 @@ local postgres_spec = Hosted.postgres_spec() --logger.info(stringify(postgres_spec)) -local function completer(doc) - return doc -end - local dir = Io.uri("site:/private/local/lucene") local Db = Lucene.index( dir, { default_type = Lucene.type.english default_fields = {"subject","content"} - completer = completer postgres_spec = postgres_spec } )
diff -r 0160650180bc -r 13135e289b50 website/push-local.sh --- a/website/push-local.sh Wed Jan 27 15:31:26 2021 -0700 +++ b/website/push-local.sh Thu Jan 28 20:47:39 2021 -0700 @@ -1,1 +1,1 @@ -luan luan:host/push.luan www.me.luan.ws word src 2>&1 | tee err +luan luan:host/push.luan www.me.luan.software word src 2>&1 | tee err
diff -r 0160650180bc -r 13135e289b50 website/push.sh --- a/website/push.sh Wed Jan 27 15:31:26 2021 -0700 +++ b/website/push.sh Thu Jan 28 20:47:39 2021 -0700 @@ -1,2 +1,2 @@ PASSWORD=$1 -luan luan:host/push.luan www.luan.ws $PASSWORD src 2>&1 | tee err +luan luan:host/push.luan www.luan.software $PASSWORD src 2>&1 | tee err
diff -r 0160650180bc -r 13135e289b50 website/src/examples/upload-and-email.html.luan --- a/website/src/examples/upload-and-email.html.luan Wed Jan 27 15:31:26 2021 -0700 +++ b/website/src/examples/upload-and-email.html.luan Thu Jan 28 20:47:39 2021 -0700 @@ -5,7 +5,7 @@ local send = Mail.Sender{ host = "smtpcorp.com" - username = "smtp@luan.ws" + username = "smtp@luan.software" password = "luanhost" port = 2525 }.send @@ -46,7 +46,7 @@ else local file = Http.request.parameters.file send{ - from = "smtp@luan.ws" + from = "smtp@luan.software" to = email subject = "Upload and Email" body = "file should be attached"
diff -r 0160650180bc -r 13135e289b50 website/src/index.html --- a/website/src/index.html Wed Jan 27 15:31:26 2021 -0700 +++ b/website/src/index.html Thu Jan 28 20:47:39 2021 -0700 @@ -18,7 +18,7 @@ <div link><a href="docs.html">Documentation</a></div> <div link><a href="download/">Download</a></div> <div link><a href="https://hg.luan.ws/luan">Source</a></div> - <div link><a href="http://forum.luan.ws/">Support Forum</a></div> + <div link><a href="http://forum.luan.software/">Support Forum</a></div> <div link><a href="goodjava.html">The goodjava Library</a></div> </body> </html>
diff -r 0160650180bc -r 13135e289b50 website/src/tutorial.html --- a/website/src/tutorial.html Wed Jan 27 15:31:26 2021 -0700 +++ b/website/src/tutorial.html Thu Jan 28 20:47:39 2021 -0700 @@ -91,10 +91,10 @@ <p>You can find this example and others in the <a href="examples/">examples directory</a>. Take a look at <a href="examples/hi2.luan">hi2.luan</a> next. Remember to remove the <b>.luan</b> from the URL to run the code.</p> -<p>So now you have built your website and you want to publish it to the web. If you have your own domain, create a CNAME record for it pointing to <b>s1.luan.ws</b>. If you don't have a domain, just use a domain like <b>bob.s1.luan.ws</b> (anything of the form <b>*.s1.luan.ws</b>). Assuming your directory is <b>site</b> and you will use the password <b>secret</b>, do the following from the command line: +<p>So now you have built your website and you want to publish it to the web. If you have your own domain, create a CNAME record for it pointing to <b>s1.luan.software</b>. If you don't have a domain, just use a domain like <b>bob.s1.luan.software</b> (anything of the form <b>*.s1.luan.software</b>). Assuming your directory is <b>site</b> and you will use the password <b>secret</b>, do the following from the command line: <pre> - luan luan:host/push.luan bob.s1.luan.ws secret site + luan luan:host/push.luan bob.s1.luan.software secret site </pre> <p>The form is <b>luan luan:host/push.luan domain password directory</b>. If you change your site, just run this again and your site will be updated. To delete your site, do <b>luan luan:host/delete.luan domain password</b>.</p>