Coder Social home page Coder Social logo

protonmail-settings's Introduction

ProtonMail-settings

You will need:

  • bash
  • node (mini latest LTS)
  • npm (latest too, it's better)

How to dev

  1. Clone the WebClient
  2. Clone this repository
  3. Clone fe-proxy
  4. Run $ npm install in every repo
  5. Create an env file with the key ROOT_DIR=/tmp (if you cloned everything inside /tmp )

โš ๏ธ Clone them inside the same root dir.

Once it's done ./app dev ๐ŸŽ‰

It will run first, WebClient, then settings and proxy. :warning: A bit static for now, it's quick&dirty so 8080, 8081 and 8040 need to be available.

App available on http://localhost:8040. Settings available on http://localhost:8040/settings/

Where should I should I clone them ?

Better to keep the default dir and inside the same dir. ex:

49 directories, 56 files 
[atlas]:~/dev/taf
$ pwd     
/home/dhoko/dev/taf
[atlas]:~/dev/taf
$ tree -l
.
โ”œโ”€โ”€ Angular
โ”œโ”€โ”€ protonmail-settings
โ””โ”€โ”€ fe-proxy

Here WebClient is inside the dir Angular, is it an issue ? Nope. We can configure it via the env.

ROOT_DIR=/home/dhoko/dev/taf
WEBCLIENT_APP=Angular

One key/env:

  • WEBCLIENT_APP: dirname where is the webclient
  • SETTINGS_APP: dirname where is protonmail-settings
  • PROXY_APP: dirname where is the fe-proxy

Default === dirname with the default git clone dir.

Sync translations

You can sync them via $ npm run i18n:upgrade, it will:

  • Extract translations
  • Push them to crowndin
  • Create a commit with them on the repo

protonmail-settings's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.