@@ -11,6 +11,7 @@ Finally, an email service that's built around your privacy. Get your @criptext.c
1111## Contributing Bug reports
1212
1313We use GitHub for bug tracking. Please search the existing issues for your bug and create a new one if the issue is not yet tracked!
14+ [ https://github.com/Criptext/Criptext-Email-React-Client/issues ] ( https://github.com/Criptext/Criptext-Email-React-Client/issues )
1415
1516## Contributing Translations
1617
@@ -22,7 +23,7 @@ We use Lokalise for translations. If you are interested in helping please write
2223
2324To build Criptext on your machine you'll need:
2425
25- * Node.js (Recommended 8.12 +)
26+ * Node.js (Recommended 8.15 +)
2627* Yarn
2728
2829## Run locally
@@ -32,16 +33,40 @@ Clone this repository and run a few scripts:
3233``` bash
3334git clone https://github.com/Criptext/Criptext-Email-React-Client
3435cd Criptext-Email-React-Client
35- node install.js # Install dependencies
36- node start.js # Run locally
36+ node install.js # Install dependenciess
3737```
3838
39- On some directories, like ` email_login ` it is recommended to have a .env file
39+ To up all projects, got to each project and run:
40+ ``` bash
41+ yarn start # Run locally
42+ ```
43+ First up the projects like ` email_* ` and last ` electrop_app `
44+
45+ On all directories, like ` email_* ` it is recommended to have a .env file
4046with the following content:
4147
4248```
49+ PORT=####
4350SKIP_PREFLIGHT_CHECK=true
51+ REACT_APP_APPDOMAIN=criptext.com
52+ REACT_APP_AVATAR_URL=https://api.criptext.com/user/avatar/
53+ ```
54+
55+ The project ` electrop_app ` the .env file should have this:
56+ ```
57+ NODE_ENV=development
58+ MAILBOX_URL=http://localhost:####
59+ LOGIN_URL=http://localhost:####
60+ LOADING_URL=http://localhost:####
61+ COMPOSER_URL=http://localhost:####
62+ DEV_SOCKET_URL=wss://socket.criptext.com
63+ DEV_SERVER_URL=https://api.criptext.com
64+ DEV_DATA_TRANSFER_URL=https://transfer.criptext.com
65+ CSC_IDENTITY_AUTO_DISCOVERY=true
66+ DEV_APP_DOMAIN=criptext.com
4467```
68+
69+
4570## Contributing Code
4671
4772Contributions are welcome. This project contains subdirectories according to each module of the app:
0 commit comments