Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
rendezvous
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VeNtura
rendezvous
Commits
1dad113f
Commit
1dad113f
authored
Jan 21, 2014
by
tady
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix readme text
parent
2359ad14
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
33 additions
and
10 deletions
+33
-10
.env.example
+2
-2
README.md
+30
-7
config/initializers/omniauth.rb
+1
-1
No files found.
.env.example
View file @
1dad113f
...
...
@@ -2,8 +2,8 @@
# SET YOUR ENV HERE.
export
GOOGLE_
KEY
=
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com"
export
GOOGLE_SECRET
=
"xxxxxxxxxxxxxxxxxxxxxxxx"
export
GOOGLE_
CLIENT_ID
=
"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com"
export
GOOGLE_
CLIENT_
SECRET
=
"xxxxxxxxxxxxxxxxxxxxxxxx"
export
DB_TEST_USER
=
"user"
export
DB_TEST_PASS
=
"pass"
export
DB_DEVELOPMENT_USER
=
"user"
...
...
README.md
View file @
1dad113f
rendezvous
==========
A simple markdown-based wiki system for term.
==========
## Badge
[

](https://travis-ci.org/tadyjp/rendezvous)
[

](https://coveralls.io/r/tadyjp/rendezvous)
[

](https://codeclimate.com/github/tadyjp/rendezvous)
[

](https://gemnasium.com/tadyjp/rendezvous)
A simple markdown-based wiki system for team.
# Supported versions
-
Ruby 2.0.0+
-
Rails 4.0.0+
# How to install and use.
Get code and install gems.
...
...
@@ -19,25 +25,42 @@ $ cd rendezvous
$ bundle install
```
Create YOUR .ENV file.
Get Google API Key.
Register application on https://code.google.com/apis/console,
and get
1.
Access https://code.google.com/apis/console
2.
Create New Project
3.
Create Client ID (
[
APIs & auth
]
>
[
Credentials
]
>
[
CREATE NEW CLIENT ID
]
)
4.
Enter
-
`http://localhost:3000`
in
[
Authorized Javascript origins
]
-
`http://localhost:3000/users/auth/google_oauth2/callback`
in
[
Authorized redirect URI
]
and save
5.
Get
[
Client ID
]
and
[
Client secret
]
Create your .env file.
```
$ cp .env.example .env
$ vim .env
```
Set Google API
[
Client ID
]
and
[
Client secret
]
in
`.env`
Setup DB (Default: mysql).
```
$
bundle exec
rake db:migrate
$
bundle exec
rake db:seed
$
(bundle exec)
rake db:migrate
$
(bundle exec)
rake db:seed
```
Set ENV before start server.
```
$ source .env
$
bundle exec
rails s
$
(bundle exec)
rails s
```
And have fun with your team !
config/initializers/omniauth.rb
View file @
1dad113f
Rails
.
application
.
config
.
middleware
.
use
OmniAuth
::
Builder
do
provider
:google_oauth2
,
ENV
[
'GOOGLE_
KEY'
],
ENV
[
'GOOGLE
_SECRET'
],
provider
:google_oauth2
,
ENV
[
'GOOGLE_
CLIENT_ID'
],
ENV
[
'GOOGLE_CLIENT
_SECRET'
],
name:
'google_oauth2'
,
scope:
'https://mail.google.com/, userinfo.email, userinfo.profile'
,
access_type:
'offline'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment