1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-22 11:33:34 +03:00
guide/front-ps
2018-01-02 11:09:02 +01:00
..
client Read server-side state of CategoryDetail (#202) 2017-09-09 20:29:10 +02:00
common Group categories (#173) 2018-01-02 11:09:02 +01:00
server Update dependencies of bower/npm libs 2017-12-30 08:15:24 +01:00
.gitignore Extend webpack configs + build css + use Bulma 2017-11-05 19:54:11 +01:00
bower.json Update dependencies of bower/npm libs 2017-12-30 08:15:24 +01:00
package.json Update dependencies of bower/npm libs 2017-12-30 08:15:24 +01:00
README.md Update dependencies of bower/npm libs 2017-12-30 08:15:24 +01:00
webpack.config.client.js Extend webpack configs + build css + use Bulma 2017-11-05 19:54:11 +01:00
webpack.config.common.js Clean up wp config 2017-11-05 20:29:07 +01:00
webpack.config.server.js Extend webpack configs + build css + use Bulma 2017-11-05 19:54:11 +01:00
yarn.lock Update dependencies of bower/npm libs 2017-12-30 08:15:24 +01:00

Guide's front-end

Requirements

Installation

  1. Get all sources:
git clone git@github.com:aelve/guide.git
cd guide
git checkout front-ps-next
  1. Get data of guide-database
./official.sh
  1. Build back-end API
./b
  1. Build PureScript types of Guide's Api
stack exec guide-hs2ps
  1. Install front-end dependencies
cd front-ps
yarn

or by using npm:

cd front-ps
npm i
  1. Build Express server
yarn build:server

or by using npms:

npm run build:server
  1. Build pages (e.g. category-overview or category-detail)
yarn build:client

or by using npm:

npm run build:client

Run

  1. Run back-end
stack exec guide
  1. Run front-end
yarn start

or by using npm:

npm start

Open http://localhost:3333.