Skip to content
This repository has been archived by the owner on Sep 19, 2024. It is now read-only.

Build tnris.org

john edited this page Jun 3, 2020 · 2 revisions

tnris.org

This repository contains the content and code used to generate Texas Natural Resources Information System website: tnris.org

Building tnris.org

If you are looking for information on how to get set up to build tnris.org then you're in the right place.

Requirements

First, make sure these things are installed:

  • nodejs v12.13
  • npm v6.12

Setup

To get the build and front-end dependences, run these commands from base directory of the repository:

  • npm install
  • may need to run npm rebuild node-sass

Usage

  • npm run dev to build and run the site locally. Run command from the base directory of the repository. Then visit http://localhost:8000/ to see the page.
  • npm run dist to do a production build of the site. The output static site will be dumped into the .dist folder.

If you're looking to edit some content, see our repo wiki documentation.