Skip to content

Installation

Lâm Khải edited this page May 1, 2022 · 3 revisions

Branch links

  1. Foundation:
    1. master is built for 4.8: https://github.com/episerver/Foundation/tree/master
    2. main is the latest: https://github.com/episerver/Foundation/tree/main
  2. LK:
    1. installation: https://github.com/lamkhai/episerver/tree/db2f918a1a8f65accd28c39210504e85a5abe395

Download

Use 1 or 2:

  1. Download the ZIP file from one of these links above on GitHub and extract the files
    Download Zip file
  2. Clone the project from GitHub to a local folder using the command prompt and the git command git clone copy_the_link_to_here your_folder_name
    Clone project

After download

  1. Go to the appSettings.config and appSettings.debug.config:
  1. Go to the Web.config:
  • Search the config for "changeme"
  • Update Social appId and secret key
  • Update the Find index to your own credentials
  1. Right-click on the batch file called setup.cmd and select Run as administrator:
    Run batch file

  2. The installation starts and you are asked to provide the following parameters:

Parameter Description
Application name: The name of the application. Note: The application name should contain only letters and numbers as it used as the prefix to create the website and database components.
Public domain name for foundation: Domain name for the application, for example, foundation.com.
Public domain name for Commerce Manager: Domain name for the Commerce Manager application, for example, commerce.foundation.com.
License path: If you have a license file, add the path to it. Otherwise you can add that later.
SQL server name: SQL server instance name. Add the same server name as the one you connected to in the Pre-installation set-up steps for the SQL server. If using Azure SQL, provide the full dns name for your Azure SQL instance
sqlcmd command: SQL command to execute, by default -S . -E . This can generally be left as is. If using Azure SQL, pass username and password as -U <user> -P <password>


Build parameters

  1. The build process executes a number of steps and logs both to the console and to the log files. The automatic build steps are:
•	Set permissions on the folder to everyone full control
•	Restore NuGet packages
•	npm install
•	gulp Saas task
•	Build solution
•	Install Databases
•	Create two application pools
•	Create two websites
•	Update host file
•	Copy License file
•	Update commerce manager url for access from cms
•	create connectionstrings files
•	Start the site to finish setup in browser


Build progress

  1. When the installation is finished, a Mosey start page is opened in your browser. If not, enter the URL http://yourdomainname/ manually.
    Mosey start page

  2. If the setup page throws an error, open your host file, found under C:\Windows\System32\drivers\etc, and add the two domain names you entered during the installation. Reload the page in your browser.
    Example host file

  3. Log in with user: admin@example.com and password: store to access the Episerver user interface.

Note: A resetup.cmd file has been created in your project which you can run to re-install the database.

  1. Developer licenses for evaluation purposes can be obtained from the Episerver License Center. Place the License.config file in your webroot.

Note

It is recommended that you store the project in a folder directly under C:, in a folder where your user has full access rights:
Folder access rights

Clone this wiki locally