agrc / atlas

UGRC's template for esri JavaScript mapping applications.

Home Page:https://atlas.utah.gov

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

atlas

UGRC Web Mapping Application Template

Pull Request Events Push Events

To Use

Step 1 - Use this template

Click the Use this template button to create a new repository from atlas

or

Checkout repository and install dependencies

git clone https://github.com/agrc/atlas.git
cd atlas

Duplicate the .env file and rename it as .env.local and update the properties with your data

Download all the dependencies

npm install

Step 2 - Develop & Test

Execute npm start to start a web server and view the website

Open src/App.jsx to view the development version of the app.

Build an awesome app.

Run npm test to run the unit tests

Run npm run cypress:run to run the functional tests

Run npm run format to format the code

Run npm run lint to lint the code

Step 3 - Optimize

Execute npm run build to create an optimized production build

The files will be placed in /dist

Execute npm run preview to view the website

Step 4 - Deploy

One-time tasks:

  • Update the analytics code in index.html

This website is tested and deployed with GitHub Actions.

Contributing

See our Contributing Guide

About

UGRC's template for esri JavaScript mapping applications.

https://atlas.utah.gov

License:MIT License


Languages

Language:JavaScript 90.8%Language:CSS 7.0%Language:HTML 2.2%