Skip to content

MoeraOrg/moera-client-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Moera Web Client

Resources

Installation instructions

  1. As prerequisites, you need to have Node.js 8.12+ and Yarn installed.
  2. Go to the source directory.
  3. Install project dependencies with yarn install.
  4. By default, the web server that serves the client runs on port 3000. If you want it to run on a different port, change the value of PORT variable in ./run script.
  5. If you use your own naming server, make sure its location is set correctly in client settings.
  6. Execute ./run script.
  7. A new browser tab with the client in it is opened automatically.

Note for WebStorm/IntelliJ users

The project uses absolute paths for imports. If your IDE complains about non-installed modules, you may do the following (or read the full instructions):

  1. Mark the src/ directory as a Resources Root.
  2. Go to Settings > Editor > Code Style > JavaScript, go to the Imports tab and tick Use paths relative to the project, resource or sources roots.
  3. Go to Settings > Editor > Code Style > TypeScript, go to the Imports tab and tick Use paths relative to tsconfig.json.