mirror of
https://github.com/aelve/guide.git
synced 2024-11-26 03:08:37 +03:00
1.0 KiB
1.0 KiB
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
- Build PureScript types of Guide's Api
stack exec guide-hs2ps
- Install front-end dependencies
cd front-ps
yarn
or by using npm
:
cd front-ps
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
.