Installation
Frappe Insights can be installed in several ways depending on your requirements. You can choose to install it on Frappe Cloud, the cloud version of Frappe Insights, or on your own server. The following sections describe the installation methods in detail.
Insights Cloud
You can also use the cloud version of Frappe Insights, hosted at frappeinsights.com. This version provides all the features of the self-hosted version without the hassle of server maintenance. Sign up for a free account on the website to get started.
Frappe Cloud
Frappe Insights can be installed in a single click on Frappe Cloud, a managed hosting platform that provides easy installation and maintenance. There are two ways to install Frappe Insights on Frappe Cloud:
ERPNext Users
If you are an ERPNext user, and your site is hosted on Frappe Cloud, this is the easiest way to install Frappe Insights.
Note
You need to be logged in to Frappe Cloud to install Frappe Insights. If you don't have an account, you can create one for free at frappecloud.com.
- On an existing site: You can install Frappe Insights on your existing site on Frappe Cloud. Your site must be running Frappe Framework v14 or later. Follow the intructions below to install on an existing site.
- Go to Frappe Cloud Marketplace and click on the Install button.
- Select a site to install Frappe Insights on and select the plan you want to use. Click on the Install button to start the installation.
- The installation will be completed in a few minutes.
- Go to
https://frappecloud.com/dashboard/sites/<your-site>/jobs
to check the status of the installation. - Once the installation is complete, you can access Frappe Insights at
https://<your-site>.frappe.cloud/insights
.
- On a new site: You can install Frappe Insights on a new site on Frappe Cloud. Follow the instructions below to install Frappe Insights on a new site.
- Go to New Site Page and enter site name
- Select Version 14 or later as the Frappe Framework version
- Select Insights as the app to install
- Complete the installation process by following the instructions on the screen
- Once the installation is complete, you can access Frappe Insights at
https://<your-site>.frappe.cloud/insights
.
Self Hosted
If you prefer to host Frappe Insights on your own server, you can choose one of the following methods:
Docker Image: Frappe Insights provides a Docker image that makes it easy to install and run on any platform that supports Docker.
- Clone the Frappe Insights repository
cd
into theinsights
directory and rundocker-compose up
- The installation will be completed in a few minutes. Once the installation is complete, you can access Frappe Insights at
http://insights.test:8000/insights
.
Manual Installation: You can also install Frappe Insights manually on your server. This method requires more technical knowledge and may take longer to set up. Follow the instructions below to install Frappe Insights manually.
- Install Frappe Bench on your machine by following the instructions here.
- Start a new bench by running
bench init frappe-insights-bench
- Start the server by running
bench start
- In a new terminal,
cd
into thefrappe-insights-bench
directory and runbench get-app insights
- Create a new site by running
bench new-site insights.local
- Map your site to localhost by running
bench --site insights.local add-to-hosts
- Install the app on your site by running
bench --site insights.local install-app insights
- Now you can access Frappe Insights at
http://insights.local:8000/insights
.