To build your own NoteSelf environment, think of it as a modern web app, you only need a few things:
1) A server to host it all (you can use 2 servers if you want). 2) A web server that can serve static web pages. 3) A CouchDB server that is accessible from the Internet. To do so: 1) Go get the empty.html document from notself.github.io (that's the download button at the bottom of the page). 2) Set-up your static web server. 3) Put the empty.html file on your static web servers (you can even make it the root index.html if you want). 4) Set-up your CouchDB server (you can use the free Cloudant service since that's what it provides). 4.1) Put the base URL of your web server in the CORS setting of CouchDB. For example if the url to your empty.html file is http://www.example.com/empty.html then put "http://www.example.com" (this would allow any file coming from http://www.example.com/" to use the database). If you only want to allow access from the specific file, put the full URL in instead "http://www.example.com/empty.html" 5) Load your newly created website into your browser (http://www.example.com/empty.html) and fill-out the settings for couchdb and database name. couchdb url would be the url to your couchdb instances (if you used cloudant, they provide it to you). database name is the name you used when you set-up couchdb. 6) use the Noteself login process to log-in. These are the credentials you used to set-up couchdb. 7) Make some changes to your newly created NoteSelf instance. 8) Go to another device (if you used your desktop, try your phone) and repeat steps 5 and 6. On Thursday, July 20, 2017 at 8:31:15 PM UTC-4, @TiddlyTweeter wrote: > > Ciao Lost Admin & Daniello > > I am STILL unclear about CORS. > > Not so much the addressing CouchDB needs, but more about *WHAT (if > anything) needs to be at the domain/address?* > > Am I right in thinking that at the CORS listed domain there needs to be a > NoteSelf of some sort that a user is using? *That there needs to be some > "software" that forms a bridge between the local and the Cloudant database*? > Like a core of Noteself that assists the magic? Or am I injecting excess > meanings into all this? > You are right in thinking that CORS lists the domain where you house the NoteSelf file that can be downloaded. You are over-thinking the "software". Somewhat like it is initially difficult to grasp that TW is both application and data in a single file, it is difficult to grasp that NoteSelf is the software that bridges the connection to the cloudant database. > By way of background, I have access to several of my own unique addresses > and am trying to figure out the EASIEST way to make my own ONLINE version > of Noteself suited to my aims. > > So far its not working. Probably because I have no idea what I am doing. > I've got a working instance built entirely in a VM (VirtualBox), so it's not accessible to anyone but me. I'll see if I can build something that is publicly accessible and write-up a how-to with screenshots in the process. Best wishes > Josiah > > Lost Admin wrote: >> >> >> @TiddlyTweeter wrote: >>> >>> I am still myself unclear on several points ... >>> >>> (1) CORS settings in Cloudant and what the addressing they ask you for >>> there does? Do you need a "stub" at the address? >>> >> >> I had to look this one up too, when I first ran into it. >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/d1fa5c56-d498-436d-918f-543e1dafb87b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

