Skip to content

Commit

Permalink
Commit initial files for Sticky Selectron copied over from private pr…
Browse files Browse the repository at this point in the history
…ototyping repo
  • Loading branch information
pickettd committed Nov 11, 2022
1 parent 9d93842 commit 4f42711
Show file tree
Hide file tree
Showing 29 changed files with 6,829 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# This file is used for Git repositories to specify intentionally untracked files that Git should ignore.
# If you are not using git, you can delete this file. For more information see: https://git-scm.com/docs/gitignore
# For useful gitignore templates see: https://github.com/github/gitignore

# Salesforce cache
.cci/
.sf/
.sfdx/
.localdevserver/
deploy-options.json

# LWC VSCode autocomplete
**/lwc/jsconfig.json

# LWC Jest coverage reports
coverage/

# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Dependency directories
node_modules/

# Eslint cache
.eslintcache

# MacOS system files
.DS_Store

# Windows system files
Thumbs.db
ehthumbs.db
[Dd]esktop.ini
$RECYCLE.BIN/

# Local environment variables
.env
31 changes: 31 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,33 @@
# sticky-selectron
Sticky LWC Team WIP

## CCI Development

To work on this project in a scratch org using CumulusCI:

1. [Set up CumulusCI](https://cumulusci.readthedocs.io/en/latest/tutorial.html)
2. Run `cci flow run dev_org --org dev` to deploy this project.
3. Run `cci org browser dev` to open the org in your browser.

# Salesforce DX Project: Next Steps

Now that you’ve created a Salesforce DX project, what’s next? Here are some documentation resources to get you started.

## How Do You Plan to Deploy Your Changes?

Do you want to deploy a set of changes, or create a self-contained application? Choose a [development
model](https://developer.salesforce.com/tools/vscode/en/user-guide/development-models).

## Configure Your Salesforce DX Project

The `sfdx-project.json` file contains useful configuration information for your project. See [Salesforce DX Project
Configuration](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_ws_config.htm) in the _Salesforce DX Developer Guide_ for details about
this file.

## Read All About It

- [Salesforce Extensions Documentation](https://developer.salesforce.com/tools/vscode/)
- [Salesforce CLI Setup Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_intro.htm)
- [Salesforce DX Developer Guide](https://developer.salesforce.com/docs/atlas.en-us.sfdx_dev.meta/sfdx_dev/sfdx_dev_intro.htm)
- [Salesforce CLI Command Reference](https://developer.salesforce.com/docs/atlas.en-us.sfdx_cli_reference.meta/sfdx_cli_reference/cli_reference.htm)

13 changes: 13 additions & 0 deletions config/project-scratch-def.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"orgName": "StickySelectron - Scratch Org",
"edition": "Developer",
"features": ["EnableSetPasswordInApi"],
"settings": {
"lightningExperienceSettings": {
"enableS1DesktopEnabled": true
},
"mobileSettings": {
"enableS1EncryptedStoragePref2": false
}
}
}
35 changes: 35 additions & 0 deletions cumulusci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
minimum_cumulusci_version: "3.61.1"
project:
name: StickySelectron
package:
name: StickySelectron
api_version: "52.0"
git:
default_branch: "main"
source_format: sfdx

tasks:
robot:
options:
suites: robot/StickySelectron/tests
options:
outputdir: robot/StickySelectron/results

robot_testdoc:
options:
path: robot/StickySelectron/tests
output: robot/StickySelectron/doc/StickySelectron_tests.html

run_tests:
options:
required_org_code_coverage_percent: 75

flows:
config_qa:
steps:
3:
task: load_dataset
config_dev:
steps:
3:
task: load_dataset
9 changes: 9 additions & 0 deletions datasets/mapping.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Insert Accounts:
sf_object: Account
table: Account
fields:
- Name
- Phone
- NumberOfEmployees
- Description
- Website
15 changes: 15 additions & 0 deletions datasets/sample.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
BEGIN TRANSACTION;
CREATE TABLE "Account" (
id INTEGER NOT NULL,
"Name" VARCHAR(255),
"Phone" VARCHAR(255),
"NumberOfEmployees" VARCHAR(255),
"Description" VARCHAR(255),
"Website" VARCHAR(255),
PRIMARY KEY (id)
);
INSERT INTO "Account" VALUES(1,'Harmony','111-222-3333','10','This is Harmony','www.harmony.com');
INSERT INTO "Account" VALUES(2,'Love','222-333-4444','4','This is Love','www.love.com');
INSERT INTO "Account" VALUES(3,'Peace','333-444-5555','600','This is Peace','www.peace.com');
INSERT INTO "Account" VALUES(4,'Zen','555-666-7777','1','This is Zen','www.zen.com');
COMMIT;
Loading

0 comments on commit 4f42711

Please sign in to comment.