mirror of
https://github.com/aelve/guide.git
synced 2024-11-27 18:12:44 +03:00
.. | ||
client | ||
common | ||
server | ||
.gitignore | ||
bower.json | ||
package.json | ||
README.md | ||
webpack.config.client.js | ||
webpack.config.common.js | ||
webpack.config.server.js | ||
yarn.lock |
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
.