All Projects → newsdev → driveshaft

newsdev / driveshaft

Licence: other
Google Drive → JSON → S3

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects

Labels

Projects that are alternatives of or similar to driveshaft

blazor-adminlte
This project adapts ADMINLTE 3 so the components can be used from dotnet core Blazor / Server / Web Assembly
Stars: ✭ 182 (+142.67%)
Mutual labels:  admin
cfadmin
A lua web network framework.
Stars: ✭ 259 (+245.33%)
Mutual labels:  admin
laravel-bjyadmin
laravel 集成各种功能
Stars: ✭ 94 (+25.33%)
Mutual labels:  admin
Shadbot
A configurable multipurpose bot bringing you music, multiplayer games, moderation commands and more!
Stars: ✭ 48 (-36%)
Mutual labels:  admin
carpatin-dashboard-free
Carpatin is a React JS Admin Dashboard Template that focuses on the management flows of a back-office application. We leverage the Material-UI power of stylizing the components in a way that feels more professional.
Stars: ✭ 51 (-32%)
Mutual labels:  admin
purity-ui-dashboard
Purity UI Dashboard - Free and Open Source Chakra UI Dashboard
Stars: ✭ 253 (+237.33%)
Mutual labels:  admin
vue-element-admin-ts
vue-element-admin 的 typescript 版本
Stars: ✭ 101 (+34.67%)
Mutual labels:  admin
book-ms-interface
⚡ 微图书后端接口工程,主要使用spring-boot2.x、shiro开发,前端采用 vue.js、element-ui
Stars: ✭ 86 (+14.67%)
Mutual labels:  admin
ui
UI for Mainflux IoT platform
Stars: ✭ 73 (-2.67%)
Mutual labels:  admin
nextjs-admin-template
Free admin dashboard template based on Next.Js with @paljs/ui component package
Stars: ✭ 266 (+254.67%)
Mutual labels:  admin
hope-ui-design-system
Hope UI - Open Source Bootstrap 5 Design System
Stars: ✭ 37 (-50.67%)
Mutual labels:  admin
andresrodriguez55.github.io
Personal blog and portfolio with administration panel, notification system and comment system.
Stars: ✭ 18 (-76%)
Mutual labels:  admin
Magento2-Admin-Module-Sample
Minimal code to create an admin/backend module in Magento2
Stars: ✭ 45 (-40%)
Mutual labels:  admin
django-admin-actions
Display Django admin custom actions in changelist, changeview or per row in changelist.
Stars: ✭ 30 (-60%)
Mutual labels:  admin
cc-project-vue
一个基于vue3.0+antd+less+spring boot +mybatis+mysql+maven基础权限管理平台
Stars: ✭ 20 (-73.33%)
Mutual labels:  admin
AdminOnSteroids
Various ProcessWire admin tweaks to boost productivity.
Stars: ✭ 39 (-48%)
Mutual labels:  admin
react-admin-template
react + antd + vite/webpack5 后台管理系统模板
Stars: ✭ 73 (-2.67%)
Mutual labels:  admin
tarantool-admin
No description or website provided.
Stars: ✭ 90 (+20%)
Mutual labels:  admin
react-admin-nest
React和Ant Design和 Nest.js 和 Mysql 构建的后台通用管理系统。持续更新。
Stars: ✭ 123 (+64%)
Mutual labels:  admin
Samples.IdentityServer4.AdminUiIntegration
IdentityServer 4 implementation using the ASP.NET Identity schema from the IdentityExpress Admin UI product
Stars: ✭ 55 (-26.67%)
Mutual labels:  admin

Driveshaft

Driveshaft is a Sinatra application built to turn Google Spreadsheets and Google Documents into JSON with the click of a button.

Quickstart

For the full user guide, please refer to the documentation. Or, if you're somewhat familiar with Ruby applications and Google Authentication / S3, use this quickstart guide to get up and running.

Heroku Quickstart

Deploy instantly with Heroku.

Deploy

Dependencies

Be sure to have the following system dependencies installed:

# Git, Ruby, Node
$ brew install git node ruby

# Bundler
$ gem install bundler

Clone the repository and resolve app dependencies

$ git clone [email protected]:newsdev/driveshaft.git
$ cd driveshaft
$ npm install
$ bundle install

Environmental Variables

Driveshaft uses environmental variables for configuration. Set the following variables either at runtime on the commandline, or in your ~/.bash_profile.

Create a service account to authenticate against the Google API. You will need to set up a Google Developers Project with the Drive API enabled. Then create a set of credentials. Choose a service account key, and download the contents as JSON.

Store the JSON file on your computer (or your deployed environment), and set GOOGLE_APPLICATION_CREDENTIALS to the filepath where it is stored.

GOOGLE_APPLICATION_CREDENTIALS="/path/to/serviceaccount.json"

Required for S3 access. Use credentials that have access to any S3 buckets you wish to use.

AWS_ACCESS_KEY_ID="****"
AWS_SECRET_ACCESS_KEY="****"
AWS_REGION="us-east-1"

Driveshaft settings:

DRIVESHAFT_SETTINGS_MAX_VERSIONS="5" # set to a maximum number of previous file versions to keep on S3
DRIVESHAFT_SETTINGS_INDEX_FOLDER="****" # a Google Team Drive folder ID

Run the app locally

$ puma

http://localhost:9292/

Documentation

Documentation is available on the gh-pages branch. To view or contribute to the docs, checkout that branch, and run the following to start the documentation server:

gem install jekyll
jekyll server

Contribute

Questions / comments / feature requests / concerns? Please use the Issues page.

Contributors

Released at the OpenNews Code Convening at the 2015 Write The Docs conference, with the support of the Knight Foundation and The Mozilla Foundation.

License

The documentation and code are licensed under the Apache License, Version 2.0.

Copyright 2015 The New York Times Company.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].