Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 422 commits behind blinktrade:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
_i18n
_includes
_layouts
_plugins
assets
jsdev
themes
.gitignore
.nojekyll
CHANGELOG.md
CNAME
LICENSE
README.md
_config.bitcoinvietnam.localhost.yml
_config.bitcoinvietnam.testnet.yml
_config.bitcoinvietnam.yml
_config.bitinvest.testnet.yml
_config.chilebit.localhost.yml
_config.chilebit.yml
_config.demo.localhost.yml
_config.demo.testnet.yml
_config.demo.yml
_config.foxbit.localhost.yml
_config.foxbit.testnet.yml
_config.foxbit.yml
_config.romaniabex.localhost.yml
_config.romaniabex.testnet.yml
_config.romaniabex.yml
_config.surbitcoin.localhost.yml
_config.surbitcoin.yml
_config.unocoin.testnet.yml
_config.urdubit.localhost.yml
_config.urdubit.yml
build_javascript.sh
chart.html
config.rb
deploy.sh
feed.xml
gulpfile.js
index.html
minideploy.sh
package.json

README.md

Blinktrade Bitcoin Exchange

Technologies we are using

Install the pre-requesites

1 - Install Git, Ruby anda Java, in case you don't have them yet.

2 - Once installed these dependecies, open up the terminal and install Jekyll with the following commands.

$ gem install jekyll:2.5.3

2 - Install jekyll multiple languages plugin

$ gem install jekyll-multiple-languages-plugin:1.2.9

How to run the exchange locally

1 - Fork the repo

2 - Rename it to exchange or any name you wish. Let's use exchange for this example

3 - clone your new repo

$ git clone https://github.com/yourgithubusername/exchange
$ cd exchange

4 - Create a symbolic link to some _config.foxbit.yml files

$ ln -s _config.demo.yml _config.yml

5 - And finally run:

$ jekyll server --watch

You'll have access to the website at localhost:4000

How to run the exchange on github pages

1 - Make sure that you have node and npm installed.

2 - Install the node dependencies to deploy.

npm install

3 - Deploy with gulp $ gulp deploy and follows the prompt instructions.

4 - Open your browser and point it to http://yourgithubusername.github.io/exchange/

How build the javascript application

Only needed in case you changed the ./jsdev application.

Compile all Javascript

It will compile for all themes and languages.

./build_javascript.sh

Compile a specific theme or language

The defaults are US english (en_US) and the default theme ('default'), but can be overriden. To build the british english version with a custom theme:

$ cd ./jsdev 
$ LANG=en_GB THEME=custom sh build_release.sh

Browser Support

IE Chrome Firefox Opera Safari
IE 11+ ✔ Latest ✔ Latest ✔ Latest ✔ Latest ✔

File Structure

The file structure for the project is organized in the following way:

.
|-- _includes
|-- _layouts
|-- _posts
|-- _config.yml
|-- jsdev
  |-- bitex
  |-- closure-bootstrap
  |-- closure-library
  |-- externs
  |-- scottlogic/chart
  |-- tools
  |-- translations
  |-- uniform
  |-- build_release.sh
|-- themes
  |-- default
  |-- ander
|-- assets
|-- index.html

_includes

They're blocks of code used to generate the main page of the site (index.html).

_layouts

Here you'll find the default template of the application.

_posts

Here you'll find a list of files for each post.

_config.yml

It stores most of the settings of the application.

index.html

The static html page

jsdev

The google closure javascript application

assets

Images, CSS, Compiled Javascripts, Fonts and all static content.

License

GNU GENERAL PUBLIC LICENSE © Blinktrade, Inc.

You can’t perform that action at this time.