Skip to content

Latest commit

 

History

History
36 lines (28 loc) · 1.08 KB

README.md

File metadata and controls

36 lines (28 loc) · 1.08 KB

HiSchool! Project FrontSchool

Requirements

This application is a front end for BackSchool. You should have a working instance of BackSchool before running FrontSchool.

You need Node.js and a Node package manager. [Yarn] (https://yarnpkg.com) is recommended.

On an APT-based system, run:

curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt install nodejs yarn

Setup

  • Clone this repository and move to the project directory
  • Install the required dependencies: yarn
  • Run the server: yarn start

Create a production build

To create a production build (ie. that you can serve with your own web server) of this application, fill in the homepage key in package.json with its address, for example:

"homepage": "https://myname.mydomain.com/myapp"

Then, just run yarn build.