Skip to content
This repository has been archived by the owner on May 20, 2021. It is now read-only.

standardnotes/syncing-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5ddec76 · May 20, 2021
Apr 23, 2021
Apr 20, 2021
Oct 19, 2020
May 5, 2021
Mar 19, 2021
Mar 1, 2021
Apr 20, 2021
Dec 4, 2019
Dec 4, 2019
Apr 20, 2021
May 5, 2021
Mar 1, 2021
Mar 3, 2020
Feb 12, 2020
Sep 15, 2020
Feb 26, 2021
May 5, 2021
May 5, 2021
Dec 6, 2019
May 20, 2021
May 5, 2021
Sep 15, 2020
Jan 15, 2020
Dec 4, 2019
Feb 23, 2020
Feb 23, 2020
Mar 1, 2021
Mar 2, 2021
Mar 1, 2021

Repository files navigation

⛔️ Deprecation Notice

This codebase is deprecated in favor of our new Node.js server. For self-hosting, use standardnotes/standalone.

Standard Notes Syncing Server

You can run your own Standard Notes server and use it with any Standard Notes app. This allows you to have 100% control of your data. This server is built with Ruby on Rails and can be deployed in minutes.

Requirements

  • Docker

Data persistency

Your MySQL Data will be written to your local disk in the data folder to keep it persistent between server runs.

Getting started

  1. Clone the project:

    git clone --branch master https://github.com/standardnotes/syncing-server.git
    
  2. Setup the server by running:

./server.sh setup
  1. Run the server by typing:
./server.sh start

Your server should now be available under http://localhost:3000

Logs

You can check the logs of the running server by typing:

./server.sh logs

Stopping the Server

In order to stop the server type:

./server.sh stop

Updating to latest version

In order to update to the latest version of our software please first stop the server and then type:

./server.sh update

Checking Status

You can check the status of running services by typing:

./server.sh status

Cleanup Data

Please use this step with caution. In order to remove all your data and start with a fresh environment please type:

./server.sh cleanup

Tests

The syncing-server uses RSpec for tests.

To execute all of the test specs, run the following command at the root of the project directory:

bundle exec rspec

Code coverage report is available within the coverage directory.