Поддержи МШД!
Install nodejs, npm or yarn, git, VSCode and follow instruction...
-
Install Yarn https://yarnpkg.com/en/docs/install#alternatives-tab
curl -o- -L https://yarnpkg.com/install.sh | bash
-
Install dependencies
yarn install
ornpm install
Make SSL certificate for PWA stage locally server.key, server.crt
.
CLI node scripts/server.js
, see scripts/server.js
git branch develop
- Build and run your project locally
yarn start
- Run dev-server
yarn dev
- Bump version
yarn patch|minor|major
- Manual build
yarn build
Make copy from env.example
to .env
, add config for access to remote server (for upload, etc.):
HOST = 'localhost'
USER = ''
PASSWORD = ''
PUBLIC = '/home/www'
- Manual deploy code to remote server
yarn deploy
- Deploy to branch
gh-pages
only build files ->yarn stage:deploy