All Projects → CWPoemDev → nasulog

CWPoemDev / nasulog

Licence: other
ポエム投稿サービス

Programming Languages

ruby
36898 projects - #4 most used programming language
HTML
75241 projects
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to nasulog

Subdir Heroku Buildpack
Allows to use subdirectory configured via environment variable as a project root
Stars: ✭ 211 (+779.17%)
Mutual labels:  heroku
Semana Js Expert30
Aulas da Semana JS Expert 3.0 - Construindo um chat multiplataforma usando linha de comando e JavaScript Avançado
Stars: ✭ 238 (+891.67%)
Mutual labels:  heroku
node-postgres
This application demonstrates database operations using PostgreSQL as a database, Heroku as platform, Node.js as language and Angularjs as javascript based MVC.
Stars: ✭ 18 (-25%)
Mutual labels:  heroku
Clojurenews
Clojure News Web Application - (Hacker News Clone)
Stars: ✭ 217 (+804.17%)
Mutual labels:  heroku
Awesome Heroku
A curated list of helpful Heroku resources.
Stars: ✭ 230 (+858.33%)
Mutual labels:  heroku
Instagram Proxy Api
CORS compliant API to access Instagram's public data
Stars: ✭ 245 (+920.83%)
Mutual labels:  heroku
Heroku Config
[Utility] Push and pull heroku environment variables to your local env
Stars: ✭ 207 (+762.5%)
Mutual labels:  heroku
heroku-integrated-firefox-geckodriver
Buildpack enables your client code to access Firefox along with Geckodriver in a Heroku slug.
Stars: ✭ 40 (+66.67%)
Mutual labels:  heroku
Anydlbot
An Open Source GPLv3 All-In-One Telegram Bot
Stars: ✭ 236 (+883.33%)
Mutual labels:  heroku
create-mern-ts-app
Create a Mongo-Express-React-Node Application written in TypeScript out of the box.
Stars: ✭ 30 (+25%)
Mutual labels:  heroku
Haikunatorjs
Generate Heroku-like random names to use in your node applications.
Stars: ✭ 218 (+808.33%)
Mutual labels:  heroku
Shadowsocks Heroku
本项目已删除
Stars: ✭ 224 (+833.33%)
Mutual labels:  heroku
Flask Boilerplate
Simple flask boilerplate with Postgres, Docker, and Heroku/Zeit now
Stars: ✭ 251 (+945.83%)
Mutual labels:  heroku
Rocket
Automated software delivery as fast and easy as possible 🚀
Stars: ✭ 217 (+804.17%)
Mutual labels:  heroku
Meteor-Files-Demo
Demo application for ostrio:files package
Stars: ✭ 16 (-33.33%)
Mutual labels:  heroku
Go Getting Started
Getting Started with Go on Heroku https://devcenter.heroku.com/articles/getting-started-with-go
Stars: ✭ 210 (+775%)
Mutual labels:  heroku
Heroku Deploy
A simple github action that dynamically deploys an app to heroku
Stars: ✭ 238 (+891.67%)
Mutual labels:  heroku
haikunatorphp
Generate Heroku-like random names to use in your php applications.
Stars: ✭ 99 (+312.5%)
Mutual labels:  heroku
arugo
Virtual rating system for codeforces using codeforces API.
Stars: ✭ 30 (+25%)
Mutual labels:  heroku
Heroku ebooks
A script to generate Markov chains and to post to an _ebooks account on Twitter using Heroku
Stars: ✭ 251 (+945.83%)
Mutual labels:  heroku

nasulog

ポエムを書きためるWebアプリケーション。pplogのような何か。

ポエム

熱い想いとかやりたいこととかポエムに書くといいと思う。でもそればっかりだと暑苦しいので個人的な反省とか今やってることとかも自由にかけるとなおよいと思う。

nasum

参考URL

開発環境構築

必要になるもの

  • Ruby (2.3.0)
  • MySQL
  • nodejs
  • v8
  • Google のトークン
  • Docker for Mac

準備

Google OAuth を設定する

  • Google Developers Console で nasulog 用のプロジェクトを作る
  • 作ったプロジェクトの Credentials ページから OAuth consent screen を設定する
    • とりあえず必須項目の Product name shown to users だけ入力すれば ok
  • Create client ID からクライアントIDを作る
    • Application type は web application を選択
    • Authorized redirect URIs は http://localhost:3000/auth/google/callback としておく (ドメインやポート番号はローカルの環境に合わせる)
  • プロジェクトの Overview ページの Google APIs から、"Google+ API" を enable にする

.env.exampleをコピーし .env に環境変数を書いておく

cp .env.example .env

ミドルウェアの起動

docker-compose -f docker-compose.yml up

Rails アプリケーションの初期設定

$ ./bin/setup

動作確認

$ ./bin/rails s

localhost:3000 をブラウザで開いて「ログイン」→環境変数の RESTRICT_DOMAIN に設定したドメインのアカウントで許可を出してトップページまで戻り、エラーが表示されていなければ ok

テスト

$ ./bin/rake spec

環境構築手順に変更が生じた場合

  • 可能であれば bin/setup に手順を追加
  • それが無理なら README.md に追記を

Heroku

nodejsの設定

MySQLの設定

  • ClearDB
  • JawsDB

Add-onsでmysqlで検索して上記のいずれかを追加。生成される環境変数のCLEARDB_DATABASE_URLDATABASE_URLとして追加する。

※ その際にmysqlの部分をmysql2に設定する

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].