-
Notifications
You must be signed in to change notification settings - Fork 1
How to setup development environment on Windows
Eric Dugre edited this page Mar 8, 2019
·
9 revisions
Install ruby
- use recommended version (currently Ruby+Devkit 2.5.3-1 (x64))
- use preselected options when installing
- for mingw selection use hit just ENTER
Which components shall be installed? If unsure press ENTER [1,2,3]
Install bunder
gem install bundler -v 2.0.1
Add environment variable set
git clone https://github.com/Kentico/delivery-sdk-ruby.gitcd delivery-sdk-ruby- Create
.envfile with environment variables ( CI is using faf446d2-0544-0039-bb43-5d6ef816661a)- You could generate your own sample project here
PROJECT_ID=<PLACE PREVIEW API KEY>
PREVIEW_KEY=<PLACE PREVIEW API KEY>
SECURE_KEY=<PLACE SECURE API KEY>
-
bundle(install all dependent packages) -
bundle exec rake- runs all Tests
-
bundle(install all dependent packages) -
gem build delivery.gemspec- creates file
delivery-sdk-ruby-<VERSION>.gemfile in the project's root folder
- creates file