• Stars
    star
    114
  • Rank 308,031 (Top 7 %)
  • Language
    Ruby
  • License
    MIT License
  • Created over 9 years ago
  • Updated over 6 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Potmum is cloud note-app.

Potmum

Build Status Deploy

Potmum

Potmum is cloud note-app.

Demo: https://potmum-demo.herokuapp.com/

Usage

development mode

yarn install
bundle install --path vendor/bundle
bundle exec rake db:create db:migrate
bundle exec foreman start -f Procfile.dev

production mode

yarn install
bundle install --path vendor/bundle
RAILS_ENV=production bundle exec rake db:create db:migrate assets:precompile
RAILS_ENV=production bundle exec puma -C config/puma.rb

Requirement

  • Ruby 2.4.1
  • PostgreSQL
  • Redis
  • Node (>= v.6.0) and yarn

I have assumed the use in Heroku or dokku.

Environment Variables

ENV Name Type Requirement Description
ENV['DATABASE_URL'] String x PostgreSQL URL
ENV['REDIS_URL'] String x Redis URL
ENV['REDIS_NAMESPACE'] String Redis NameSpace
ex) potmum_production
ENV['ROOT_URL'] String x Root page URL.
ex) http://example.com
ENV['COLOR_THEME'] String default: 'blue'
ENV['USE_REDIRECTOR'] Boolean Use redirector with external link
ENV['USE_GOOGLE'] Boolean Allow login with Google OAuth 2
ENV['GOOGLE_KEY'] String Google OAuth2 API Key
ENV['GOOGLE_SECRET'] String Google OAuth2 Secret Key
ENV['GOOGLE_APPS_DOMAIN'] String only use Google Apps Account
Google Apps Domains
(ex. hazimu.com, example.com)
ENV['USE_GITHUB'] Boolean Allow login with GitHub account
ENV['GITHUB_KEY'] String GitHub API Key
ENV['GITHUB_SECRET'] String GitHub API Secret Key
ENV['GITHUB_ENTERPRISE_URL'] String only use github:e
GitHub Enterprise URL
ENV['USE_SLACK'] Boolean Allow login with Slack account
ENV['SLACK_KEY'] String Slack API Key
ENV['SLACK_SECRET'] String Slack API Secret Key
ENV['SLACK_TEAM_ID'] String Slack Team ID
ex) T0123456
ENV['SLACK_TEAM_NAME'] String Slack Team Name
ENV['USE_TWITTER'] Boolean Allow login with Twitter account
ENV['TWITTER_KEY'] String Twitter API Key
ENV['TWITTER_SECRET'] String Twitter API Secret Key
ENV['NOTIFY_SLACK_CHANNEL'] String Notify channel
ex) #general
ENV['NOTIFY_SLACK_ICON'] String Slack icon URL or emoji
ENV['NOTIFY_SLACK_TOKEN'] String Slack API Token
ENV['GLOBAL_ALERT'] String Footer message
ENV['PRIVATE_MODE'] Boolean Members only mode
ENV['USE_ATTACHMENT_FILE'] Boolean Use Attachment File
default: false
ENV['ATTACHMENT_FILE_S3_BUCKET'] Boolean Members only mode
ENV['ATTACHMENT_FILE_S3_ACL'] Boolean s3 ACL
default: public-read
ENV['ATTACHMENT_FILE_S3_HOST'] Boolean s3 asset host
ENV['ATTACHMENT_FILE_S3_KEY'] Boolean s3 access key
ENV['ATTACHMENT_FILE_S3_SECRET'] Boolean s3 token secret
ENV['ATTACHMENT_FILE_S3_REGION'] Boolean s3 region
ENV['ATTACHMENT_FILE_S3_ENDPOINT'] Boolean S3 endpoint
ENV['ATTACHMENT_FILE_S3_FORCE_PATH_STYLE'] Boolean use force path style in S3

Color Theme

  • red
  • pink
  • purple
  • deep_purple
  • indigo
  • blue
  • light_blue
  • cyan
  • teal
  • green
  • light_green
  • lime
  • yellow
  • amber
  • orange
  • deep_orange
  • brown
  • grey
  • blue_grey

LICENSE

MIT License

More Repositories

1

togelack

Slackまとめ
Ruby
130
star
2

nicopip-chrome

ニコニコ動画の動画プレイヤーをコメント付きでPinPするChrome拡張(非公式)
TypeScript
31
star
3

torigoya_rpg_maker_mv_plugins

RPG Maker MV plugins
JavaScript
16
star
4

itamae-plugin-recipe-rtn_rbenv

installs rbenv and ruby_build
Ruby
15
star
5

slack_markdown

Slack Markdown Filter
Ruby
15
star
6

torigoya-rpg-maker-plugin

RPGツクールMV/MZ用のプラグイン
JavaScript
9
star
7

compac-reader

A novel reader for Android.
JavaScript
5
star
8

favlack

favstar clone for slack
CSS
4
star
9

leyak_bot

Ruたんのお手伝いbot
Ruby
3
star
10

media-recorder-demo

JavaScript
3
star
11

senrigan

Senrigan is terminal viewer of slack
Ruby
3
star
12

swipe-vertical-text

縦書きページ送りのデモ
Vue
3
star
13

html-pipeline-nico_link

An HTML::Pipeline filter for niconico(http://www.nicovideo.jp) description links.
Ruby
3
star
14

slack_message_markdown

convert slack message to HTML.
Ruby
2
star
15

FlashDevelop_Template

FlashDevelop用Flash+AIR+モバイルAIRなテンプレートプロジェクト
ActionScript
2
star
16

romantic_text

A romantic DSL for writing HTML.
Ruby
2
star
17

boroicchi

CSS
1
star
18

ruboty-local_yaml

Store Ruboty's memory in local yaml file.
Ruby
1
star
19

itamae-plugin-recipe-rtn_git

Itamae recipe plugin for git.
Ruby
1
star
20

current-app-to-slack

notifier current application to Slack.
TypeScript
1
star
21

torigoya_rpg_maker_vxace_rgss3

RPG Maker VXAce scripts
Ruby
1
star
22

mihatter

a simple Twitter crawler
Ruby
1
star
23

ru-react-sandbox

いろいろ試す用
TypeScript
1
star
24

ruboty-rhymer

Ruby
1
star
25

zoint

今日も一日がんばるぞい!
Ruby
1
star
26

sardonyx_ring

Slack bot framework for Ruby
Ruby
1
star
27

akashic-right-click-plugin

AkashicEngine 3.13.0で公式対応になったのでアーカイブしました
TypeScript
1
star
28

akashi-custom-sound-chrome

AKASHIの勤怠打刻音を任意の音声ファイルにするChromeExtension
TypeScript
1
star
29

alijigock

Alijigock is a employee management bot for Slack. (It's joke bot)
Ruby
1
star
30

pdadv

PDF Adventure game framework
Ruby
1
star
31

blinkman-twitter_search

Twitter Search API adapter for Blinkman
Ruby
1
star
32

itamae-plugin-recipe-rtn_php_nabe

Itamae recipe plugin for php-nabe.
Ruby
1
star