Extracted componentManager into snjs

This commit is contained in:
Mo Bitar
2019-04-30 19:38:29 -05:00
parent 5901f4a623
commit 43c9f02bfe
12 changed files with 2170 additions and 1857 deletions

View File

@@ -14,7 +14,7 @@ require "rails/test_unit/railtie"
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module Neeto
module StandardNotes
class Application < Rails::Application
# Cross-Origin Resource Sharing (CORS) for Rack compatible web applications.
config.middleware.insert_before 0, Rack::Cors do

View File

@@ -1,15 +1,15 @@
default: &default
key_path: /path/to/key.pem
repo_url: https://github.com/neeto-project/neeto-web-client.git
repo_url: https://github.com/sn-project/sn-web-client.git
user: ssh_username
staging:
<<: *default
server: staging.yourdomain.com
branch: staging
deploy_to: ~/neeto-staging-client
deploy_to: ~/sn-staging-client
production:
<<: *default
server: yourdomain.com
deploy_to: ~/neeto-prod-client
deploy_to: ~/sn-prod-client

View File

@@ -1,6 +1,6 @@
CAP_CONFIG = YAML.load_file("config/cap.yml")
set :application, 'neeto'
set :application, 'standard-notes'
set :repo_url, CAP_CONFIG["default"]["repo_url"]
# Default branch is :master

View File

@@ -1,3 +1,3 @@
# Be sure to restart your server when you modify this file.
Rails.application.config.session_store :cookie_store, key: '_neeto_session'
Rails.application.config.session_store :cookie_store, key: '_sn_session'