Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,29 @@

## Google Custom Search Setup

**Signing Up as a New User**

- Enter in the new users first name, last name, email, password, and password confirmation

- A user verification email will be sent to the new users email

- Once the user has been verified, they can continue onto the site signed in

- User will be redirected to home page

**Signing In**

- Enter existing user email and password

- Will be redirected to the sites home page

**Creating an Organization**

- Enter the Organization name, address, description, employee count, tech count, a link for website and twitter account

- Able to upload image files for your organization


**Setting up Google API key**

https://console.developers.google.com/project
Expand Down
1 change: 1 addition & 0 deletions app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ def create
session[:user_id] = service.user.id
render "users/account_verifications/create"
else
@user = service.user
render :new
end
end
Expand Down
2 changes: 1 addition & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@
t.integer "user_id"
t.float "longitude"
t.float "latitude"
t.string "logo"
t.string "image"
t.string "image2"
t.string "image3"
t.string "image4"
t.string "logo"
end

add_index "organizations", ["user_id"], name: "index_organizations_on_user_id", using: :btree
Expand Down