Skip to content

Latest commit

 

History

History
 
 

website

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

SOMAS2020 Visualisation Website

https://somas2020.github.io/SOMAS2020

Getting started

Requirements

Make sure you have yarn installed on your local machine

Install yarn if you do not already have it installed. Yarn manages the dependencies for the website. The easiest way to do this is

npm i -g yarn
# On a mac or if you get permission errors
sudo npm i -g yarn

Install dependencies

yarn install

Scripts

yarn start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

yarn build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.

Information

Deployment

Deployment is done automatically via GitHub Actions whenever a push occurs in the main branch (which includes a PR merged into main).

You can enable GitHub pages in your own fork to have your own fork's website. Just go to "Settings" on your fork, set the GitHub Pages Source to the gh-pages branch and save it. The next merge into your main branch should deploy a new version of the page.