https://github.com/sateesh2020/bear-tracking
Bear Tracking Application with Lightning Web Componenets
https://github.com/sateesh2020/bear-tracking
lightning lightning-web-components salesforce salesforce-lightning
Last synced: about 1 year ago
JSON representation
Bear Tracking Application with Lightning Web Componenets
- Host: GitHub
- URL: https://github.com/sateesh2020/bear-tracking
- Owner: sateesh2020
- Created: 2019-02-26T09:00:09.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-26T09:11:31.000Z (over 7 years ago)
- Last Synced: 2025-04-16T03:15:07.499Z (about 1 year ago)
- Topics: lightning, lightning-web-components, salesforce, salesforce-lightning
- Language: JavaScript
- Size: 59.6 KB
- Stars: 2
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ursus Park sample app for Trailhead project Build Flexible Apps with Lightning Web Components
### Requirements
* A Salesforce Developer Account / Trailhead Playground ( https://www.salesforce.com/form/signup/prerelease-spring19/ )
* SFDX CLI ( https://developer.salesforce.com/tools/sfdxcli)
Follow this trailhead to setup SFDX CLI (https://trailhead.salesforce.com/en/content/learn/modules/sfdx_app_dev/sfdx_app_dev_setup_dx)
### Set Up the Ursus Park App
Open a command prompt, such as cmd on Windows or Terminal on MacOS.
Clone the Ursus Park app git repository.
```sh
git clone https://github.com/sateesh2020/bear-tracking.git
```
The repository contains the Ursus Park app, a Bear object with a set of fields, record and page layouts, and Apex code that retrieves bear records and sample bear records. This project base helps us focus on the Lightning Web Component development.
Navigate to the new build-apps-with-lwc directory.
```sh
cd bear-tracking
```
Authorize your Trailhead Playground with the Salesforce CLI, save it with a bear-tracking alias and set the current user as the default user:
```sh
sfdx force:auth:web:login -s -a bear-tracking
```
When a browser window with the Salesforce login page opens, enter your Trailhead Playground credentials.
Deploy the app code to the org.
```sh
sfdx force:source:deploy -p force-app/main/default
```
Assign the Ursus Park User permission set to the current user.
```sh
sfdx force:user:permset:assign -n Ursus_Park_User
```
Import the sample data.
```sh
sfdx force:data:tree:import -p data/plan.json
```
Open the org in a browser.
```sh
sfdx force:org:open
```