UGRC's template for esri JavaScript mapping applications.
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
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
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
One-time tasks:
index.html
This website is tested and deployed with GitHub Actions.