Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds file about Heroku Deployment and Bucketeer Add-On #369

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
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
Empty file.

This file was deleted.

6 changes: 0 additions & 6 deletions db/cms_fixtures/bizport/files/_thumb_IMG_0181_1024.jpg.yml

This file was deleted.

Empty file.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div>

<p>
Exciting! You’ve taken the first step and decided that you want to start a business.
</p>
<h2>Why Long Beach</h2>
<h2>Tesgting </h2>
<p>
Consider some of the unique qualities of Long Beach and what type of businesses do well here.
</p>
<ul>

<li>Last affordable beach town</li>
<li>History of Aerospace Industry</li>
<li>Connected to Los Angeles and Orange County</li>
Expand All @@ -18,9 +18,9 @@ <h2>Why Long Beach</h2>
</ul>
<h2>Understand your market</h2>
<p>
Next you’ll conduct market research to see if other businesses are pursuing a similar idea. This will help you find your competitive advantage and help you turn your idea into a profitable business.
Next you’ll conduct market research to see if other businesses are pursuing a similar idea. This will help you find your competitive advantage and help you turn your idea into a profitable business.
</p>
{{ cms:partial:shared/link_box:"https://www.sba.gov/starting-business/how-start-business/understand-your-market":"READ":"Understand your market" }}
<h2>Is Entrepreneurship right for you right now?</h2>
{{ cms:partial:shared/link_box:"https://www.sba.gov/starting-business/how-start-business/entrepreneurship-you":"READ":"Is entrepreneurship right for you" }}
</div>
</div>
2 changes: 1 addition & 1 deletion db/migrate/20160316020814_create_questions.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateQuestions < ActiveRecord::Migration[5.0]
class CreateQuestions < ActiveRecord::Migration
def change
create_table :questions do |t|
t.string :question_text
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20160324201251_create_subscriptions.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateSubscriptions < ActiveRecord::Migration[5.0]
class CreateSubscriptions < ActiveRecord::Migration
def change
create_table :subscriptions do |t|
t.string :email
Expand Down
2 changes: 1 addition & 1 deletion db/migrate/20160421181647_create_checklist_items.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class CreateChecklistItems < ActiveRecord::Migration[5.0]
class CreateChecklistItems < ActiveRecord::Migration
def change
create_table :checklist_items do |t|
t.string :item_text
Expand Down
10 changes: 2 additions & 8 deletions db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,19 +43,13 @@
add_index "active_admin_comments", ["namespace"], name: "index_active_admin_comments_on_namespace", using: :btree
add_index "active_admin_comments", ["resource_type", "resource_id"], name: "index_active_admin_comments_on_resource_type_and_resource_id", using: :btree

create_table "ar_internal_metadata", primary_key: "key", force: :cascade do |t|
t.string "value"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end

create_table "checklist_items", force: :cascade do |t|
t.string "item_text"
t.string "category"
t.string "category_name"
t.integer "order_number"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.datetime "created_at"
t.datetime "updated_at"
t.integer "created_by_user_id"
end

Expand Down
35 changes: 35 additions & 0 deletions docs/DEPLOYING_TO_HEROKU.MD
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Heroku Deployment Instructions

Make sure that all changes have been committed and pushed up to your remote Github repository.

Make sure to set up a heroku Account - [Set up a Heroku Account](https://signup.heroku.com/login)

If you need more info on Heroku, get it here - [What is Heroku ?](https://www.heroku.com/what)

Open your Terminal/Command Prompt and navigate to the Bizport project directory.

Then enter the following commands in the terminal:

```heroku create``

This should buld a new heroku app for your bizport application. You should see an URL given for your app.

Next you should enter:

```git push heroku <branch>```

where <branch> equals the name of the repo branch you going to deploy from. In most cases, this would be the master branch. So\, it should look something like this:

``` git push heroku master ```

After that you will need to migrate your database over with the following command:

```heroku pg:push bizport_development DATABASE_URL```


This should get your home screen for the app up and running.

# Bucketeer Add-on

Naviagte to www.heroku.com and sign-in. Click on the name of your app in the menu. In the dashboard, click on the 'Resources' tab. There you should see a "Add-ons" section. Here search for the "Bucketeer" add on. Make sure to add this your appn in Heroku.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.