accounts-frontend/README.md

53 lines
1.6 KiB
Markdown
Raw Permalink Normal View History

2019-03-11 00:00:42 +05:30
# Ely.by Accounts Web Frontend
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)
2024-12-03 16:37:41 +05:30
[![Ely.by translation on Crowdin](https://d322cqt584bo4o.cloudfront.net/elyby/localized.svg)](https://crowdin.com/project/elyby)
2020-05-24 04:38:24 +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
```
2020-05-24 04:38:24 +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
```
2020-05-24 04:38:24 +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>`.
2020-05-24 04:38:24 +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.
2024-12-03 16:37:41 +05:30
[Click here](https://crowdin.com/project/elyby) to participate in the translation of the project.