-
Notifications
You must be signed in to change notification settings - Fork 6
How to Run
Marshall Asch edited this page Jan 8, 2022
·
3 revisions
This document will outline how to download and run this application for development.
- Web development
- Javascript
- React.js
- Node.js
- HTML
- CSS
- Docker [optional]
Clone the repository to your local computer:
git clone https://github.com/UoGSOCIS/socis_website.git
Download the required dependencies
yarn install
Run the application locally
yarn start
This will start the application on http://localhost:3000/
. Use this mode for development.
Build
docker build \
--build-arg VCS_REF=$(git rev-parse -q --verify HEAD) \
--build-arg BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
-t socis-web .
Run the application
docker run -p 8080:80 socis-web:latest
This will start the application on http://localhost:8080/
. Use this mode for testing and deployment. This mode does not have hot reloading.