Movies & Books Management System is a simple application which presents the capabilities of the Salesforce cloud platform. At the moment application allows you to manage books, movies, artists and so on.
To deploy and run this application on your Salesforce Organization you have to:
-
install Salesforce CLI
-
create a Hands-On Org (Trailhead Playground) and get your login credentials (it is the easiest way)
-
clone this repo
git clone https://github.com/artysta/movies-and-books-management-system
-
enter the project directory
cd movies-and-books-management-system
-
create a sfdx project
sfdx force:project:create -n ./
-
authorize your org
sfdx auth:web:login -a mbms-app
-
set org as a default one
sfdx force:config:set defaultusername=mbms-app
-
deploy the application files
sfdx force:mdapi:deploy --deploydir ./src
You can run the below code in the Apex Anonymous Window to insert sample records to the database.
SampleDataFactory.createAndInsertSampleRecords();
There are some post deployment steps you should take in order to make this application look and work as it should. Ofcourse these steps are not required, but I just suggest you to take them.
Add Home Page to the app Navigation Bar:
- Click Personalize your nav bar (pen icon in the upper right corner on the navigation bar)
- Click Add More Items button
- Under Available Items click All
- Search for Home
- Click "Plus" button next to Home
- Click Add 1 Nav Item button
- Click Save button