steem-engine-dex

所属分类:加密解密
开发工具:HTML
文件大小:49649KB
下载次数:0
上传日期:2023-01-09 11:58:48
上 传 者sh-1993
说明:  新浪潮Steem Engine去中心化交易所。
(The new wave Steem Engine decentralised exchange.)

文件列表:
.browserslistrc (21, 2020-12-28)
.editorconfig (257, 2020-12-28)
.eslintrc (1019, 2020-12-28)
.firebaserc (58, 2020-12-28)
.prettierrc (160, 2020-12-28)
.travis.yml (1196, 2020-12-28)
.vscode (0, 2020-12-28)
.vscode\extensions.json (220, 2020-12-28)
.vscode\launch.json (353, 2020-12-28)
.vscode\launch.json_if_cli-bundler (916, 2020-12-28)
.vscode\settings.json (407, 2020-12-28)
LICENSE (1075, 2020-12-28)
__mocks__ (0, 2020-12-28)
__mocks__\firebase (0, 2020-12-28)
__mocks__\firebase\app.ts (479, 2020-12-28)
__mocks__\izitoast.ts (95, 2020-12-28)
__mocks__\sscjs.ts (86, 2020-12-28)
__mocks__\steem.ts (86, 2020-12-28)
aurelia_project (0, 2020-12-28)
aurelia_project\aurelia.json (635, 2020-12-28)
aurelia_project\environments (0, 2020-12-28)
aurelia_project\environments\base.ts (1198, 2020-12-28)
aurelia_project\environments\dev.ts (525, 2020-12-28)
aurelia_project\environments\prod.ts (526, 2020-12-28)
aurelia_project\environments\stage.ts (569, 2020-12-28)
aurelia_project\generators (0, 2020-12-28)
aurelia_project\generators\attribute.json (118, 2020-12-28)
aurelia_project\generators\attribute.ts (1007, 2020-12-28)
aurelia_project\generators\binding-behavior.json (125, 2020-12-28)
aurelia_project\generators\binding-behavior.ts (941, 2020-12-28)
aurelia_project\generators\component.json (188, 2020-12-28)
aurelia_project\generators\component.ts (1461, 2020-12-28)
aurelia_project\generators\element.json (127, 2020-12-28)
... ...

# steem-engine-dex The new generation is upon us. ## Installation / Setup To run locally, you will need to install Node.js. The easiest way to install Node.js is via the downloadable installers on the official Node website [here](https://nodejs.org/en/download/). This is the only prerequisite (besides a computer). ### Clone This Repo Obvious, but essential. You need to clone or download this repo to be able to run it locally. ### Install Aurelia CLI The DEX is built using [Aurelia](https://aurelia.io) and as such, the CLI is a requirement to properly run and bundle the application. To install it simply open up a Terminal window and run `npm install aurelia-cli -g` to globally install it. ### Install the packages By default, Node.js ships with NPM (Node Package Manager) to install Node modules. If you use a different package manager like Yarn, the process is largely the same. In-fact, Yarn is the recommended package manager for working with the DEX, but not a hard requirement. ```shell npm install ``` ## Running The App (Mainnet) To run the application locally in development mode simply open up your Terminal window and run from the project directory: ```shell au run --watch ``` The application will then be viewable via: http://localhost:8081 ## Running The App (Testnet) To run the application locally in development mode simply open up your Terminal window and run from the project directory: ```shell au run --watch --env stage ``` The application will then be viewable via: http://localhost:8081 ## Building The App For Production It's time to ship it, to do a production build simply run the following command in your project directory in a Terminal window: ```shell au build --env prod ``` This will build the application into a `dist` folder which is the built application. You then deploy this built directory to your chosen location. ## Tests This project is configured to use Cypress for end-to-end testing and Jest for unit testing. At this time, there are only unit tests. It is a requirement that any work contributed to this repository has accompanying test cases. A basic test case is checking all code paths, functions and ensuring that you have a test that accounts for failure and for success. To run the tests type: ```shell npm run test ``` ## Environment / Project Configuration The application is broken down into three configuration files located within `aurelia_project/environments` these environment files are chosen based on the type of run or build command performed. There is a `aurelia_project/environments/base.ts` file which the environment configurations all extend from. As you would expect, it is some shared configuration settings all config files inherit to prevent duplicate values. The `au build --env prod` command above uses the `aurelia_project/environments/prod.ts` file and the `au run --watch` command above uses the `aurelia_project/environments/dev.ts` environment config. The `au build --env stage` command above uses the `aurelia_project/environments/staging.ts` file and the `au run --watch --env stage` command above uses the `aurelia_project/environments/staging.ts` environment config. Unless you are developing on the main Steem Engine DEX or creating your own variant, you probably don't need to touch these values whatsoever.

近期下载者

相关文件


收藏者