Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(not an issue) installation help #369

Open
gautamz07 opened this issue Jul 16, 2018 · 9 comments
Open

(not an issue) installation help #369

gautamz07 opened this issue Jul 16, 2018 · 9 comments

Comments

@gautamz07
Copy link

Hey guys how do i install this locally and just run it , preferably without docker , i believe i would need.

  • postgres for the database
  • a stripe a/c

How do i go about running this locally , just to hack at it ? so far i've cloned the project and run rpm install.

@nivalamata
Copy link

Like wise I am struggling to do the same thing,
steps that I tried, after cloning repository locally

  1. install stable version of node js
  2. install postgresql db
  3. create a postgresql user with user name and password.
  4. create a postgresql database named servicebot
  5. in a root directory of repository I created a folder named env, in it I add a file .env with the following
    parameters

ADMIN_USER=admin
ADMIN_PASSWORD=guest
ADMIN_NAME=admin
VIRTUAL_HOST=servicebot.host

POSTGRES_DB_HOST=localhost
POSTGRES_DB_USER=put are postgresql user name
POSTGRES_DB_NAME=servicebot
POSTGRES_DB_PASSWORD=put ur postgresql. user password
POSTGRES_DB_PORT=5432

  1. npm install
  2. npm run-script build

but when I ran step number 7 I got this error

ERROR in ./views/index.jsx
Module build failed: SyntaxError: 'import' and 'export' may only appear at the top level (6:0)
4 | (function() {
5 |
> 6 | import React from 'react';
| ^
7 | import {render} from 'react-dom';
8 | import AppRouter from "./router.jsx";
9 | import { AppContainer } from 'react-hot-loader'

 @ multi react-hot-loader/patch ./views/index.jsx

Any ideas how to solve this ..!!!!

@mylastore
Copy link

same here, not sure why we need docker

@mylastore
Copy link

@nivalamata just: run npm run fullStart
Is working for me, but it needs the SSL to connect to Srtipe.

@gautamz07
Copy link
Author

Do we need docker to run this project ?

@shakir-uz-zaman
Copy link

@nivalamata just: run npm run fullStart
Is working for me, but it needs the SSL to connect to Srtipe.

I am getting an error like this after following your instruction ,
CLOSIN DOWN THE SETUP!
redux-saga error: uncaught
at _callee
at pluginSaga
at bound enable
at run
TimeoutError: Knex: Timeout acquiring a connection. The pool is probably full. Are you missing a .transacting(trx) call?
at Timeout._onTimeout (E:\Billing System\servicebot\node_modules\knex\lib\client.js:287:18)
at ontimeout (timers.js:436:11)
at tryOnTimeout (timers.js:300:5)
at listOnTimeout (timers.js:263:5)
at Timer.processTimers (timers.js:223:10)

How did you solve it ?

@Kristijan994
Copy link

Hello, does anyone have a solution on how to run the project without docker?
I've setup the posgreSQL DB and i'm facing the following error. Actually gets stuck after the identification of the environment file.

DB EMPTY starting setup Configuration pre-set, initialization starting env exists

I've also tried to login on the psql DB with terminal just to check if the credentials are right and to make sure if i'm providing the right credentials in the .env file too, and it worked.

Any solutions?

@shakir-uz-zaman
Copy link

Hello, does anyone have a solution on how to run the project without docker?
I've setup the posgreSQL DB and i'm facing the following error. Actually gets stuck after the identification of the environment file.

DB EMPTY starting setup Configuration pre-set, initialization starting env exists

I've also tried to login on the psql DB with terminal just to check if the credentials are right and to make sure if i'm providing the right credentials in the .env file too, and it worked.

Any solutions?

Recently i installed this on my windows laptop without docker.

@Kristijan994
Copy link

Hello, does anyone have a solution on how to run the project without docker?
I've setup the posgreSQL DB and i'm facing the following error. Actually gets stuck after the identification of the environment file.
DB EMPTY starting setup Configuration pre-set, initialization starting env exists
I've also tried to login on the psql DB with terminal just to check if the credentials are right and to make sure if i'm providing the right credentials in the .env file too, and it worked.
Any solutions?

Recently i installed this on my windows laptop without docker.

Can you share your installation steps and/or share your .env file?

@shakir-uz-zaman
Copy link

@Kristijan994

POSTGRES_DB_HOST=127.0.0.1
POSTGRES_DB_USER=postgres
POSTGRES_DB_NAME=api
POSTGRES_DB_PASSWORD=123
POSTGRES_DB_PORT=5432
SMTP_HOST=undefined
SMTP_USER=undefined
SMTP_PASSWORD=undefined
SMTP_PORT=undefined
INSTANCE_SALT=fe7316ec7d1e0994320ceb09849039c212bfe7724a48afa815b685d625c5
SECRET_KEY=4f3cfbc1688e03d3518fb04462ef3d23f176382541d9b3a519b381454f690867

this is the .env file. Actually this .env file will be automatically created , Yo have to setup some information to others configure files first. I installed this project locally without docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants