CentOS 7.x installation guide

Hello Team,

I hope below steps will help someone who is having issues in setting up frappe framework on CentOS7.x.

[test@devel ~]$ bench init frappe-bench

vendor/hiredis/read.c:646:9: error: ‘for’ loop initial declarations are only allowed in C99 mode
for (int i = 0; i < r->tasks; i++) {
vendor/hiredis/read.c:646:9: note: use option -std=c99 or -std=gnu99 to compile your code
error: command ‘/bin/gcc’ failed with exit code 1

ERROR: There was a problem while creating frappe-bench
Do you want to rollback these changes? [y/N]: N
[test@devel ~]$ vi frappe-bench/apps/frappe/pyproject.toml
Modify “hiredis~=2.0.0”,
To “hiredis~=2.1.0”,
[test@devel ~]$ /home/test/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/test/frappe-bench/apps/frappe
[test@devel frappe]$ cd /home/test/frappe-bench/apps/frappe
[test@devel frappe]$ yarn install
[test@devel frappe]$ cd /home/test/frappe-bench/
[test@devel frappe-bench]$ ls apps > ./sites/apps.txt
[test@devel frappe-bench]$ bench build
[test@devel frappe-bench]$ cd /home/test/frappe-bench/apps/frappe/
[test@devel frappe]$ node esbuild --production --run-build-command
[test@devel frappe]$ cd /home/test/frappe-bench/
[test@devel frappe-bench]$ bench start

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.