README.md in yoti-1.3.0 vs README.md in yoti-1.3.1
- old
+ new
@@ -267,25 +267,33 @@
1. Create your application in the [Yoti Dashboard](https://www.yoti.com/dashboard/applications)
1. Set the application domain of your app to `localhost:3000`
1. Set the scenario callback URL to `/profile`
1. Rename the [.env.example](examples/rails/.env.example) file to `.env`
1. Fill in the environment variables in this file with the ones specific to your application (mentioned in the [Configuration](#configuration) section)
-1. Install the dependencies with `bundle install`
-1. Start the server `rails server`
+1. Install the dependencies by running the following commands
+ ```ruby
+ $ bundle install
+ $ gem install foreman # We are doing this as it's not recommended to include foreman in your Gemfile
+ ```
+1. Start the server `foreman start`
-Visiting `http://localhost:3000/` should show a Yoti Connect button
+Visiting `https://localhost:3001/` should show a Yoti Connect button
### Sinatra
1. Create your application in the [Yoti Dashboard](https://www.yoti.com/dashboard/applications)
1. Set the application domain of your app to `localhost:4567`
1. Set the scenario callback URL to `/profile`
1. Rename the [.env.example](examples/sinatra/.env.example) file to `.env`
1. Fill in the environment variables in this file with the ones specific to your application (mentioned in the [Configuration](#configuration) section)
-1. Install the dependencies with `bundle install`
-1. Start the server `ruby ./app.rb`
+1. Install the dependencies by running the following commands
+ ```ruby
+ $ bundle install
+ $ gem install foreman # We are doing this as it's not recommended to include foreman in your Gemfile
+ ```
+1. Start the server `foreman start`
-Visiting `http://localhost:4567/` should show a Yoti Connect button
+Visiting `https://localhost:4567/` should show a Yoti Connect button
### AML Check
* rename the [.env.example](examples/aml_check/.env.example) file to `.env` and fill in the required configuration values
* install the dependencies with `bundle install`