What is commonly used on a Mac to synchronize files on a server that is Ubuntun

Source: Internet
Author: User
Tags i18n rsync
Just go

Django Settings for Blog project. Generated by ' Django-admin Startproject ' using Django 1.8. For more information on this file, see Https://docs.djangoproject.com/en/1.8/topics/settings/For The full list of setting s and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/"" "# Build paths inside the project like this : Os.path.join (Base_dir, ...) import os Base_dir = Os.path.dirname (Os.path.dirname (Os.path.abspath)) # Quick-start Development settings-unsuitable for production # see https://docs.djangoproject.com/en/1.8/howto/ deployment/checklist/# SECURITY Warning:keep The secret key used in production secret! Secret_key = ' 9afw7-%l+bfgg1y3o&7t1w6w7@9tjivar9b3zm#jb!$+_--#-v ' # SECURITY Warning:don ' t run with debug turned on I N production! DEBUG = True allowed_hosts = [' 114.215.93.125 '] # application definition Installed_apps = (' Django.contrib.admin ', ' Djang O.contrib.auth ', ' django.contrib.contenttypes ', ' django.contrib.sessions ', ' django.contrib.mEssages ', ' django.contrib.staticfiles ', ' home ', ' middleware_classes = (' Django.contrib.sessions.middleware.SessionMiddleware ', ' django.middleware.common.CommonMiddleware ', ' Django.middleware.csrf.CsrfViewMiddleware ', ' django.contrib.auth.middleware.AuthenticationMiddleware ', ' Django.contrib.auth.middleware.SessionAuthenticationMiddleware ', ' Django.contrib.messages.middleware.MessageMiddleware ', ' Django.middleware.clickjacking.XFrameOptionsMiddleware ' , ' Django.middleware.security.SecurityMiddleware ',) root_urlconf = ' blog.urls ' TEMPLATES = [{' Backend ': ' Django.templa Te.backends.django.DjangoTemplates ', ' DIRS ': [Os.path.join (Base_dir, ' templates ')], ' app_dirs ': True, ' OPTIONS ': {' Context_processors ': [' django.template.context_processors.debug ', ' django.template.context_processors.request ', ' Django.contrib.auth.context_processors.auth ', ' django.contrib.messages.context_processors.messages ',],},},] WSGI _application = ' blog.wsgi.application ' # Database # Https://docs.djangoproject.com/en/1.8/ref/settings/#databases # # databases = {# ' default ': {# ' ENGINE ': ' Django.db.backends.sqlite3 ', # ' NAME ': Os.path.join (Base_dir, ' Db.sqlite3 '), #} #} ############## DATABASES = {' default ': {' ENGINE ': ' Django.db.backends.mys QL ', ' NAME ': ' Blog ', ' USER ': ' Root ', ' PASSWORD ': ' 1234 ', ' HOST ': ', ' PORT ': ' 3306 ',}} ############# # Internationalizati  On # Https://docs.djangoproject.com/en/1.8/topics/i18n/LANGUAGE_CODE = ' en-us ' time_zone = ' UTC ' use_i18n = True use_l10n  = True Use_tz = true # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.8/howto/static-files/ Static_url = '/static/' static_root = Os.path.join (Base_dir, ' static ') # static files (CSS, JavaScript, Images) # https:// docs.djangoproject.com/en/dev/howto/static-files/# Upload Folder Media_url = '/media/' media_root = Os.path.join (BASE_ DIR, ' media ')

Reply content:

Just go

Django Settings for Blog project. Generated by ' Django-admin Startproject ' using Django 1.8. For more information on this file, see Https://docs.djangoproject.com/en/1.8/topics/settings/For The full list of setting s and their values, see https://docs.djangoproject.com/en/1.8/ref/settings/"" "# Build paths inside the project like this : Os.path.join (Base_dir, ...) import os Base_dir = Os.path.dirname (Os.path.dirname (Os.path.abspath)) # Quick-start Development settings-unsuitable for production # see https://docs.djangoproject.com/en/1.8/howto/ deployment/checklist/# SECURITY Warning:keep The secret key used in production secret! Secret_key = ' 9afw7-%l+bfgg1y3o&7t1w6w7@9tjivar9b3zm#jb!$+_--#-v ' # SECURITY Warning:don ' t run with debug turned on I N production! DEBUG = True allowed_hosts = [' 114.215.93.125 '] # application definition Installed_apps = (' Django.contrib.admin ', ' Djang O.contrib.auth ', ' django.contrib.contenttypes ', ' django.contrib.sessions ', ' django.contrib.mEssages ', ' django.contrib.staticfiles ', ' home ', ' middleware_classes = (' Django.contrib.sessions.middleware.SessionMiddleware ', ' django.middleware.common.CommonMiddleware ', ' Django.middleware.csrf.CsrfViewMiddleware ', ' django.contrib.auth.middleware.AuthenticationMiddleware ', ' Django.contrib.auth.middleware.SessionAuthenticationMiddleware ', ' Django.contrib.messages.middleware.MessageMiddleware ', ' Django.middleware.clickjacking.XFrameOptionsMiddleware ' , ' Django.middleware.security.SecurityMiddleware ',) root_urlconf = ' blog.urls ' TEMPLATES = [{' Backend ': ' Django.templa Te.backends.django.DjangoTemplates ', ' DIRS ': [Os.path.join (Base_dir, ' templates ')], ' app_dirs ': True, ' OPTIONS ': {' Context_processors ': [' django.template.context_processors.debug ', ' django.template.context_processors.request ', ' Django.contrib.auth.context_processors.auth ', ' django.contrib.messages.context_processors.messages ',],},},] WSGI _application = ' blog.wsgi.application ' # Database # Https://docs.djangoproject.com/en/1.8/ref/settings/#databases # # databases = {# ' default ': {# ' ENGINE ': ' Django.db.backends.sqlite3 ', # ' NAME ': Os.path.join (Base_dir, ' Db.sqlite3 '), #} #} ############## DATABASES = {' default ': {' ENGINE ': ' Django.db.backends.mys QL ', ' NAME ': ' Blog ', ' USER ': ' Root ', ' PASSWORD ': ' 1234 ', ' HOST ': ', ' PORT ': ' 3306 ',}} ############# # Internationalizati  On # Https://docs.djangoproject.com/en/1.8/topics/i18n/LANGUAGE_CODE = ' en-us ' time_zone = ' UTC ' use_i18n = True use_l10n  = True Use_tz = true # Static files (CSS, JavaScript, Images) # https://docs.djangoproject.com/en/1.8/howto/static-files/ Static_url = '/static/' static_root = Os.path.join (Base_dir, ' static ') # static files (CSS, JavaScript, Images) # https:// docs.djangoproject.com/en/dev/howto/static-files/# Upload Folder Media_url = '/media/' media_root = Os.path.join (BASE_ DIR, ' media ')

OSX comes with rsync

My choice is to hang an agent with Dropbox auto Sync. The most worry.

Version tools, such as Svn,git. or rsync. such as

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.