-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v0.0.1 – Merge pull request #136 from ChronoBank/develop
- Loading branch information
Showing
384 changed files
with
11,108 additions
and
8,196 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"presets": [ | ||
"es2015", | ||
"env", | ||
"react" | ||
], | ||
"plugins": [ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,46 @@ | ||
|
||
# ChronoMint [![Build Status](https://travis-ci.org/ChronoBank/ChronoMint.svg?branch=master)](https://travis-ci.org/ChronoBank/ChronoMint) [![Coverage Status](https://coveralls.io/repos/github/ChronoBank/ChronoMint/badge.svg)](https://coveralls.io/github/ChronoBank/ChronoMint) [![Standard - JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com) | ||
Control panel for ChronoBank and Labour-Offering Companies. | ||
Control panel for ChronoBank | ||
|
||
## Requirements | ||
* NodeJS 6+ | ||
* Unix based OS (or just create proper symlinks instead of *contracts*, *test*, *migrations* and *src/contracts* in the root) | ||
*NodeJS 7.9.0 required* | ||
|
||
## Install | ||
Clone repo and run in the root dir: | ||
```bash | ||
git submodule init | ||
git submodule update | ||
npm install | ||
export PATH=$PATH:$(pwd)/node_modules/.bin | ||
npm i | ||
``` | ||
|
||
## Run | ||
## Development | ||
Start TestRPC in a separate terminal by doing: | ||
```bash | ||
testrpc | ||
npm run testrpc | ||
``` | ||
|
||
Then deploy contracts with: | ||
Then in another separate terminal: | ||
```bash | ||
truffle migrate --reset | ||
truffle exec setup/* | ||
npm run bridge | ||
``` | ||
|
||
Finally in another separate terminal run: | ||
Wait for _Listening @..._ message and don't exit from this process! | ||
|
||
After that deploy contracts with: | ||
```bash | ||
npm run contracts | ||
``` | ||
|
||
And finally: | ||
```bash | ||
npm start | ||
``` | ||
|
||
Now you able to access ChronoMint dApp through the [http://localhost:3000/](http://localhost:3000/) | ||
|
||
## Test | ||
#### Smart contracts | ||
In the root dir run: | ||
To open truffle console use: | ||
```bash | ||
truffle test | ||
npm run tconsole | ||
``` | ||
|
||
#### Application | ||
In the root dir run: | ||
## Test | ||
```bash | ||
npm test | ||
``` | ||
To test separate specs just add your regex at the end. | ||
To test separate specs just add your regex at the end of this command. |
Submodule SmartContracts
deleted from
bd0fb8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module.exports = { | ||
} |
Oops, something went wrong.