Skip to content
This repository has been archived by the owner on Jun 28, 2020. It is now read-only.

uclaacm/Hack-Website-2.0

Repository files navigation

Table of Contents

Hack-Website-2.0

The UCLA ACM Hack website revamp.

Prerequisites

You must have Docker installed.

Setup

Run the following to get your server up at localhost:5000

$ make up

In another terminal window, run the following to enable hot-reloading with webpack:

$ yarn webpack

Notes

  • If the data stored in the Mongo database is not particularly important to you, to prevent schema conflicts from causing confusing problems, reset the database by running npm run reset-database
  • Redis is an in-memory database. If you shutdown your computer or kill the redis server, sessions will not persist. If you need to shut down your computer or restart the redis server and want the data in the database to be restored the next time, make sure to run the command redis-cli shutdown to safely shutdown the server.