52194116b3
- upgraded to rails 6 - fixes various issues
44 lines
No EOL
669 B
Markdown
44 lines
No EOL
669 B
Markdown
![ChatUI progess](https://chatwoot.com/images/dashboard-screen.png)
|
|
|
|
## Build Setup
|
|
|
|
|
|
### Install JS dependencies
|
|
|
|
``` bash
|
|
yarn install
|
|
```
|
|
|
|
### Install ImageMagik
|
|
|
|
```bash
|
|
brew install imagemagick
|
|
```
|
|
|
|
### Setup rails server
|
|
|
|
```bash
|
|
# install ruby dependencies
|
|
bundle
|
|
|
|
# copy config
|
|
cp shared/config/database.yml config/database.yml
|
|
cp shared/config/application.yml config/application.yml
|
|
|
|
# copy frontend env file
|
|
cp .env.sample .env
|
|
|
|
# run db migrations
|
|
bundle exec rake db:create
|
|
bundle exec rake db:reset
|
|
|
|
# fireup the server
|
|
foreman start -f Procfile.dev
|
|
```
|
|
|
|
### Login with credentials
|
|
```
|
|
http://localhost:3000
|
|
user name: larry@google.com
|
|
password: 123456
|
|
``` |