The Next House Resident Dashboard System
Web interface for Nexties to edit guest lists, checkout desk items, and reserve rooms.
You will need the following tools to run and develop the NextRes web server on your local machine. Please download and install these if you don't already have them.
- Note that OSX and Linux machines typically have this already installed.
-
finger - user information lookup program, used for guest lists
- This may not be installed by default. If not, run
sudo apt-get install finger
Suggested methods of installing Node.js/NPM for your OS:
Node.js is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications.
ExpressJS - a flexible Node.js web application framework that provides a robust set of features for web and mobile applications. The best way to understand Express is through its Official Website, which has a Getting Started guide, as well as an ExpressJS guide for general express topics. You can also go through this StackOverflow Thread for more resources.
If this is the first time running the NextRes server on your machine, do all steps. Otherwise, just skip to step 5.
- Open Terminal or Command Prompt. Run
mkdir git; cd git; git clone "https://github.com/poofytoo/nextres"
to clone this repository. - Run
npm install -g nodemon
if you don't already have it. - Change into the
nrd/
folder (runcd nextres/nrd
) and then runnpm install
to install the required Node.js dependencies. - Ask a NextRes developer to send you a collection of configuration files, including the
config.json
file. Place these files in thenrd/
folder. You cannot run NextRes without these files. - Open Terminal/Command Prompt. Run
cd git/nextres/nrd
- Run
nodemon app.js
- Open your browser and navigate to http://localhost