The client side application based on Next.js.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
What things you need to install:
node=12.16.1
(recommend to use nvm to manage version multiple active node.js versions)
*If you use nvm
, you should to execute the next command:
nvm use
To the first you need to clone project:
git clone git@github.com:areffects/masks.fe.landing.git
Next you should to install npm dependencies of project:
yarn
You should create the .env
file with necessary variables. You can take them from the .env.example
.
The development environment are based on node.js. You can run dev
environment using next npm command:
App
yarn dev
Storybook
yarn storybook
App
# Build image
docker-compose build app
# Run image
docker-compose up -d app
Storybook
# Build image
docker-compose build storybook
# Run image
docker-compose up -d storybook
# Build app
yarn build
# Run builded app
./node_modules/.bin/next start
Need to write.
Need to write.
Need to write.
Need to write.
Need to write.