Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Added a note on license_key column length, also CodexFab and LicenseE…

…xample project links
  • Loading branch information...
commit 613eb6d54acfe28f658825b7a2ba5a030a7c8544 1 parent 4baacff
Gleb Dolgich authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 README
View
11 README
@@ -67,6 +67,10 @@ git://github.com/gbd/cocoafob.git
You can also download the latest version from the CocoaFob home page at
<http://github.com/gbd/cocoafob/>.
+For more complete examples of how to use CocoaFob, look at the following
+projects by Alex Clarke: CodexFab <https://github.com/machinecodex/CodexFab/>
+and LicenseExample <https://github.com/machinecodex/CodexFab_LicenseExample/>.
+
Providing a Registration Source String
--------------------------------------
@@ -102,9 +106,14 @@ to verify the licence. This means when Potion Store generates an automatic
registration URL for your application, it needs to include registration source
string in it. One of the possible solutions is as follows:
+- In your database migration 001_create_tables.rb, increase the length of
+ license_key column in line_items table to 128 characters:
+
+ t.column "license_key", :string, :limit => 128
+
- In the file app/models/line_item.rb, add the following line at the top:
- require base64
+ require "base64"
- In the same file find function called license_url--it's near the bottom of
the file. Replace it with the following (or modify to your heart's content):
Please sign in to comment.
Something went wrong with that request. Please try again.