mirror of
https://github.com/aelve/guide.git
synced 2024-11-28 04:53:06 +03:00
945 B
945 B
[WIP] Guide's front-end
Requirements
Installation
- Get all sources:
git clone git@github.com:aelve/guide.git
cd guide
git checkout front-ps-next
- Get data of
guide-database
./official.sh
- Build back-end API
./b
- Install front-end dependencies
yarn
or by using npm
:
npm i
- Build Express server
yarn build:server
or by using npm
s:
npm run build:server
- Build pages (e.g.
category-overview
orcategory-detail
)
yarn build:client
or by using npm
:
npm run build:client
Run
- Run back-end
stack exec guide
- Run front-end
yarn start
or by using npm
:
npm start
Open http://localhost:3333
.