2019-03-11 00:00:42 +05:30
|
|
|
# Ely.by Accounts Web Frontend
|
2016-02-06 18:13:57 +05:30
|
|
|
|
2019-03-11 00:00:42 +05:30
|
|
|
[![Build Status](https://travis-ci.org/elyby/accounts-frontend.svg?branch=master)](https://travis-ci.org/elyby/accounts-frontend)
|
|
|
|
[![Ely.by translation on Crowdin](https://d322cqt584bo4o.cloudfront.net/elyby/localized.svg)](https://translate.ely.by/project/elyby)
|
2016-02-06 18:13:57 +05:30
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
Web interface for Ely.by Accounts service. Developed using ReactJS and Flow
|
|
|
|
typing.
|
2019-03-11 00:00:42 +05:30
|
|
|
|
|
|
|
## Development
|
|
|
|
|
|
|
|
To get the code for this repository, run the following commands:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# Clone your fork
|
|
|
|
git clone https://github.com/elyby/accounts-frontend.git
|
|
|
|
# Switch to the project folder
|
|
|
|
cd accounts-frontend
|
|
|
|
# Install dependencies
|
|
|
|
yarn install
|
|
|
|
```
|
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
After that you need to copy `config/template.env.js` into `config/env.js` and
|
|
|
|
adjust it for yourself. Then you can start the application in dev mode:
|
2019-03-11 00:00:42 +05:30
|
|
|
|
|
|
|
```bash
|
|
|
|
yarn start
|
|
|
|
```
|
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
This will start the dev server on port 8080, which will automatically apply all
|
|
|
|
changes in project files, as well as proxy all requests to the backend on the
|
|
|
|
domain specified in `env.js`.
|
2019-03-11 00:00:42 +05:30
|
|
|
|
|
|
|
To run the tests execute:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
yarn test
|
|
|
|
```
|
|
|
|
|
|
|
|
### How to submit PR
|
|
|
|
|
|
|
|
1. Fork it.
|
|
|
|
|
|
|
|
2. Place your code in a separate branch `git checkout -b <your_branch_name>`.
|
|
|
|
|
2019-11-27 14:33:32 +05:30
|
|
|
3. Add your fork as a remote
|
|
|
|
`git remote add fork https://github.com/<your_username>/accounts-frontend.git`.
|
2019-03-11 00:00:42 +05:30
|
|
|
|
|
|
|
4. Push to your fork repository `git push -u fork <your_branch_name>`.
|
|
|
|
|
|
|
|
5. [Create Pull Request](https://github.com/elyby/accounts-frontend/compare).
|
|
|
|
|
|
|
|
## Translating
|
|
|
|
|
|
|
|
Ely.by translation is done through the [Crowdin](https://crowdin.com) service.
|
2019-11-27 14:33:32 +05:30
|
|
|
[Click here](https://translate.ely.by/project/elyby/invite) to participate in
|
|
|
|
the translation of the project.
|