首页 > 其他分享 >idurar erp/crm 安装

idurar erp/crm 安装

时间:2023-11-05 09:03:27浏览次数:42  
标签:run idurar Step command erp backend your crm

Live App Demo : https://demo-erp-crm.idurarapp.com/

username : [email protected] password : admin123

Getting started

Step 1: Clone the repository

git clone https://github.com/idurar/idurar-erp-crm.git
 
cd idurar-erp-crm
 

Step 2: Create Your MongoDB Account and Database/Cluster

  • Create your own MongoDB account by visiting the MongoDB website and signing up for a new account.

  • Create a new database or cluster by following the instructions provided in the MongoDB documentation. Remember to note down the "Connect to your application URI" for the database, as you will need it later. Also, make sure to change <password> with your own password

  • add your current IP address to the MongoDB database's IP whitelist to allow connections (this is needed whenever your ip changes)

     

Step 3: Edit the Environment File

  • Check a file named .env in the /backend directory.

    This file will store environment variables for the project to run.

Step 4: Update MongoDB URI

In the .env file, find the line that reads:

DATABASE="your-mongodb-uri"

Replace "your-mongodb-uri" with the actual URI of your MongoDB database.

Step 5: Install Backend Dependencies

In your terminal, navigate to the /backend directory of the project and run the following command to install the backend dependencies:

npm install
 

This command will install all the required packages specified in the package.json file.

Step 6: Run Setup Script

While still in the /backend directory of the project, execute the following command to run the setup script:

node setup/setup.js
 

 

This setup script may perform necessary database migrations or any other initialization tasks required for the project.

Step 7: Run the Backend Server

In the same terminal, run the following command to start the backend server:

npm run dev
 

 

 

 

This command will start the backend server, and it will listen for incoming requests.

Step 8: Install Frontend Dependencies

Open a new terminal window , and run the following command to install the frontend dependencies:

cd frontend
 
npm install
 

This command will navigate to the frontend directory within the project and install all the required packages for the frontend.

Step 9: Run the Frontend Server

After installing the frontend dependencies, run the following command in the same terminal to start the frontend server:

npm run dev
 

This command will start the frontend server, and you'll be able to access the website on localhost:3000 in your web browser.

❗ ⚠️ If you encounter an OpenSSL error while running the frontend server, follow these additional steps:

Reason behind error: This is caused by the node.js V17 compatible issues with OpenSSL, see this and this issue on GitHub.

Try one of these and error will be solved

  • Downgrade to Node.js v16.

  • Enable legacy OpenSSL provider

Here is how you can enable legacy OpenSSL provider

  • On Unix-like (Linux, macOS, Git bash, etc.)
export NODE_OPTIONS=--openssl-legacy-provider
 
  • On Windows command prompt:
set NODE_OPTIONS=--openssl-legacy-provider
 
  • On PowerShell:
$env:NODE_OPTIONS = "--openssl-legacy-provider"
 

Here is reference about enabling legacy OpenSSL provider

After trying above solutions, run below command

npm run start

node:internal/process/promises:288
            triggerUncaughtException(err, true /* fromPromise */);
            ^

AssertionError [ERR_ASSERTION]: html-pdf: Failed to load PhantomJS module. You have to set the path to the PhantomJS binary using 'options.phantomPath'
    at new PDF (D:\terrywork\idurar-erp-crm-master\backend\node_modules\html-pdf\lib\pdf.js:40:3)
    at Object.createPdf [as create] (D:\terrywork\idurar-erp-crm-master\backend\node_modules\html-pdf\lib\index.js:10:14)
    at exports.generatePdf (D:\terrywork\idurar-erp-crm-master\backend\controllers\middlewaresControllers\pdfController\index.js:28:6)
    at create (D:\terrywork\idurar-erp-crm-master\backend\controllers\appControllers\offerController\create.js:52:12)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  generatedMessage: false,
  code: 'ERR_ASSERTION',
  actual: undefined,
  expected: true,
  operator: '=='
}

Node.js v18.16.0

 

标签:run,idurar,Step,command,erp,backend,your,crm
From: https://www.cnblogs.com/zitjubiz/p/17810116.html

相关文章

  • 私域营销必备:轻松掌握微信CRM管理方法
    大家在微信私域营销中都遇到了什么问题?比如管理时间不够,群发实效性低,自动回复无法适应变化等等。我们可以利用微信CRM这个工具,轻松解决这些问题。请问你们最想用这个工具解决什么问题呢?使用微信CRM不仅可以帮你成为营销领域中具有竞争力的人物,更是可以让你轻松管理微信私域资源。这......
  • 如何开发一款优秀的ERP系统:现状分析与对策探讨
    一、引言企业资源计划(ERP)作为集财务、人力资源、采购、生产、销售等多个模块于一身的现代化企业管理工具,旨在提高企业的运营效率,降低成本,增强企业的竞争力。然而,近几年,在ERP社区或一些企业口中经常听到目前市场上的ERP很“烂”,用得不好,不能完全满足企业的需求,存在着一些问题。本文......
  • 【python】-bash: /usr/local/bin/pip: /usr/bin/python: bad interpreter: No such f
    安装单独的第三方库时没有问题pipinstallpandas但是一旦使用requirement.txt批量安装第三方库时就会出现-bash:/recorddata/rebuydata/hppy/soft/python3/bin/pip3:/usr/local/source/hppy/soft/python3/bin/python3.6:badinterpreter:没有那个文件或目录badinterpreter......
  • 德勤大型集团企业ERP信息化总体规划方案 P90
    本人从事咨询工作多年,二十年一线数字化规划咨询经验,提供制造业数智化转型规划服务,顶层规划/企业架构/数据治理/数据安全解决方案资料干货.该PPT共90页,由于篇幅有限,以下为部分资料,如需完整原版 方案,点击右上角红色按钮关注+私信。本文来源于网络,侵权立删随着社会信息化程度的不断......
  • 销售人员拒绝CRM系统的原因?如何解决呢?
     尽管如今的CRM客户管理系统已经足够的轻量化,实施起来并不复杂,但还是会被销售团队抱怨,认为CRM系统和他们想象的有很大差距。甚至销售团队根本不理睬新的CRM系统直接拒绝使用。那么,销售人员拒绝CRM系统的原因是什么?如何解决?为什么呢?通常来说,方式、环境的突然改变会让人抵触,对于......
  • CRM系统引入了却难以推行?
     当下,企业使用CRM客户管理系统来进行销售管理、客户管理已经不足为奇,几乎可以说成为了共识。尽管CRM技术已经非常成熟,但并不是所有的企业在实施或使用CRM系统时,能够做到一帆风顺。那么CRM系统用不起来的原因是什么?1、系统过于复杂有人会疑问,现在的CRM不都主打操作简单易上手......
  • 好用的CRM软件离不开这几个功能
     好用的CRM软件不仅仅是将客户资料存档,更大的作用还在于充分发挥数据的价值提升客户管理效率。如果您了解过多款CRM软件就一定会发现它们的功能都不尽相同,但是好用的CRM工具离不开这些功能:一、客户视图客户视图主要由4类数据组成:1.客户基础资料包含用户的常见属性和过往的购......
  • 企业erp流程图
     ......
  • CRM软件助力企业科学决策
     我们常说“选择大于努力”,这对于企业发展同样适用。每一家企业管理者在日常工作中都要做大量决策,员工只是将决策落地,而这些决策往往决定了公司大大小小项目实施的顺利与否。因此,采用CRM软件助力企业科学决策显得十分关键。越来越多企业发展的过程中都出现了数字化转型的需求......
  • 提升客户体验,CRM客户管理系统有哪些优势?
     人人都说CRM能够提升效率、跟踪销售流程、提升业绩、促进协作等等,但其中很重要的一项,便是改善并提升客户体验。在提升客户体验方面,CRM客户管理系统也有着独特的见解和优势。在了解CRM如何提升客户体验之前,我们要先说说什么是客户体验管理?什么是CRM客户数据库?客户体验管理(CEM)......