Standard Notes Selfhosted Installation
ndom91
December 6, 2019
What? Standard Notes is an opensource web-based notes application. Installation There are a few officially supported installation methods, including Docker, baremetal and on Heroku. I'm going to continue on with the "baremetal" variant here. 1. Get the files 2. Create the config files 3. .env.app.production 4. .env.db.production 5. Install Ruby + Ruby Dependencies 6. If you don't already have a MySQL instance running and available, you can install that now as well: 7. Then create the database: 8. Install some Rubygems dependencies: 9. Setup passenger / nginx This will install a second copy of nginx for passenger / ruby applications. In order for this to play nice with an existing installation of nginx, for example. You'll want to go to the config file /opt/nginx/conf/nginx.conf and change the listen port from 80 to something else which is still open on your system, like 81. Then we can reverse proxy that out to the world via the original nginx installation. We can then use the original nginx installation for SSL termination as well. We'll come to that configuration part later.. 10. Continue installing Standard Files cd back into the folder where you have the server repo cloned and run the following: 11. Create a .env file in the root of this project directory. And paste in the following template: 12. Setup the database 14. Start nginx And now if you visit your URL that you set in the nginx config above, you should see something like: bash Remember this is not the Standard Notes frontend web application - this is just the backend server. In the Account menu, enter the address of your new server in "Sync Server Domain" under "Advanced Options". Then, register for a new account, and begin using your private new secure Standard Notes server!
Discussion in the ATmosphere