Skip to content

sonofliberty/exchange

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

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

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

It stores most of the settings of the application.

The static html page

The google closure javascript application

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

License

GNU GENERAL PUBLIC LICENSE © Blinktrade, Inc.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.7%
  • HTML 13.1%
  • CSS 3.9%
  • Python 0.3%
  • Shell 0.0%
  • Emacs Lisp 0.0%