Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    dropyllpublic

    Directions

    Run it:

    dropyll \
      --port 8050 \
      --tld blogginin1999.com \
      --local /www/blog-dropyll \
      --dropbox /blog-jekyll \
      --appkey <your app key> \
      --appsecret <your app secret> \
      --oauthtoken <your dropbox account token> \
      --oauthsecret <your dropbox account secret>
    

    All of those <your whatever> values will be un-quoted strings of hexadecimals.

    Setting up:

    chown u+a nodedude /www/
    # where nodedude is who runs dropyll above
    

    Nginx config:

    server {
      listen 80;
      server_name test.blogginin1999.com;
      index index.html;
      location / {
        root /www/blog-dropyll/_test;
      }
    }
    
    server {
      listen 80;
      server_name *.blogginin1999.com;
      index index.html;
      location / {
        root /www/blog-dropyll/_live;
      }
      location /dropyll {
          proxy_pass http://127.0.0.1:8050;
      }
    }
    

    node-dropbox has a slightly nicer interface, but is broken

    Keywords

    none

    install

    npm i dropyll

    Downloadsweekly downloads

    4

    version

    0.1.5

    license

    none

    repository

    githubgithub

    last publish

    collaborators

    • avatar