Welcome to the Trade Developer Portal. Through this site, the Federal government gives software developers access to authoritative information on U.S. exports and international trade via standard APIs. The data accessible here is targeted at helping U.S. small businesses export and expand their operations in overseas markets.
Switch branches/tags
Nothing to show
Clone or download
ITA Data Services ITA Data Services
ITA Data Services and ITA Data Services Update
Latest commit 81e5ff8 Jul 27, 2018
Permalink
Failed to load latest commit information.
_includes Update Jun 28, 2018
_layouts Update Jun 21, 2016
_plugins Update Dec 15, 2015
_posts Update Jul 18, 2018
api Update Jul 18, 2018
assets/js Update Nov 7, 2017
data Update Apr 22, 2016
documents Update Dec 15, 2015
drafts Update Dec 15, 2015
fonts Update Dec 15, 2015
images Update Apr 4, 2017
javascripts Update Jun 21, 2016
stylesheets Update Apr 18, 2017
.gitignore Update Dec 15, 2015
.ruby-gemset Update Dec 15, 2015
.ruby-version Update Dec 12, 2016
2013-10-17-index-furlough.md Update Dec 15, 2015
CNAME Update Jun 20, 2018
Gemfile Update Dec 12, 2016
Gemfile.lock Update Jul 10, 2018
README.md Update Dec 15, 2015
_config.yml Update Jul 27, 2018
apis.json Update Dec 15, 2015
guidance.html Update Dec 29, 2017
index.html Update Dec 29, 2017
params.json Update Dec 15, 2015
robots.txt Update Dec 15, 2015
sitemap.xml Update Dec 15, 2015
widget.css Update Dec 15, 2015
widget.js Update Dec 15, 2015

README.md

International Trade Administration - Developer Portal

View the site here: http://developer.trade.gov

This project includes the source code and content for the ITA Developer website.

The goal of the project to expose ITA data sources to the public under a common taxonomy which allows for the the general public to more easily consume both trade and export information.

Local Installation Requirements

Ruby

To install ruby on unix:

yum install ruby (or sudo apt-get install ruby1.9.1)

To install ruby on Mac OS X:

curl -L https://get.rvm.io | bash -s stable --ruby

Visit the following links for more detailed information on how to set up Ruby using a method applicable to your environment:

Three Ways of Installing Ruby (Linux/Unix) http://www.ruby-lang.org/en/downloads/

RubyInstaller for Windows http://rubyinstaller.org/

How to Install Ruby on a Mac http://net.tutsplus.com/tutorials/ruby/how-to-install-ruby-on-a-mac/

Install rubygems:

  • cd ~/
  • wget http://production.cf.rubygems.org/rubygems/rubygems-1.8.24.tgz
  • tar xzvf rubygems-1.8.24.tgz
  • cd rubygems-1.8.24
  • ruby setup.rb

Managing Dependencies Using Bundler

We recommend using Bundler to manage dependencies. Once you have Ruby installed, install Bundler by running the following command: 'gem install bundler'

Once Bundler is installed, you install/update dependencies by simply running 'bundle install' within your project folder.

More information on Bundler may be found here: http://gembundler.com/

Install Jekyll

  • cd WebSite (or the location of your cloned repository)
  • bundle install

For more information and detailed documentation on Jekyll, visit the following sites:

Jekyll Project Home http://jekyllrb.com

Jekyll on GitHub https://github.com/mojombo/jekyll

Clone the repository

  • cd /var/www/html (or the location you would like the compiled site to live)
  • git clone https://github.com/InternationalTradeAdministration/WebSite.git

Generate the site and serve

  • bundle exec jekyll serve --baseurl '' (or whatever base url you will be using, e.g. '/DeveloperPortal')
  • Browse to localhost:4000 to view the site