1
1
mirror of https://github.com/aelve/guide.git synced 2024-11-24 05:45:11 +03:00
guide/front-ps
2017-08-27 19:29:37 +02:00
..
client Add server|client|common folders (#193) 2017-08-26 22:38:49 +02:00
common Add server|client|common folders (#193) 2017-08-26 22:38:49 +02:00
public/views Provide Express server (#193) 2017-08-25 21:54:24 +02:00
server Add server|client|common folders (#193) 2017-08-26 22:38:49 +02:00
.gitignore Provide Express server (#193) 2017-08-25 21:54:24 +02:00
bower.json Add server|client|common folders (#193) 2017-08-26 22:38:49 +02:00
package.json Add server|client|common folders (#193) 2017-08-26 22:38:49 +02:00
README.md Add npm commands (#193) 2017-08-27 19:29:37 +02:00
webpack.config.client.js Add server|client|common folders (#193) 2017-08-26 22:38:49 +02:00
yarn.lock Add server|client|common folders (#193) 2017-08-26 22:38:49 +02:00

[WIP] 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. Install front-end dependencies
yarn

or by using npm:

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.