Emernotar.io
Getting Started
Requirements
1. Get the latest version
You can start by cloning the latest version of React Starter Kit (RSK) on your local machine by running:
$ git clone https://git.compaero.ru/emernotar.io/frontend-mechanic-ssr
$ cd frontend-mechanic-ssr
yarn install
or npm install
2. Run This will install both run-time project dependencies and developer tools listed in package.json file.
yarn start
or npm run start
3. Run developer mode This command will build the app from the source files (/src
).
As soon as the initial build completes, it will start.
yarn build
or npm run build
4. Create production build Creates a release build for the release
Documentation
- NPM scripts- scripts to run from the console
- Project structure- structure of the project file system
- Global variables- list of global variables
- ESLint- description of the code
- Module- description of the structure of the module in the project
- Translate- description of the interface localization method
Other
To replace the video on the main page, you need:
- go to the file:
src/config.js
; - replace the value of the
youtube
property with the new video; - Run the command
npm run build
; - If you are on the main server to restart the client server, issue the command
service emc-front restart
;