mirror of
https://github.com/lingble/chatwoot.git
synced 2025-10-30 18:47:51 +00:00
Chore: Initialize Cypress tests (#1078)
Addresses: #412 Co-authored-by: Pranav Raj S <pranav@thoughtwoot.com>
This commit is contained in:
@@ -5,12 +5,13 @@ path: '/docs'
|
||||
|
||||
This guide will help you get started with Chatwoot!
|
||||
|
||||
### Environment Setup
|
||||
### Environment Setup for local development
|
||||
|
||||
* [Mac](/docs/installation-guide-mac-os)
|
||||
* [Ubuntu](/docs/installation-guide-ubuntu)
|
||||
* [Windows](/docs/installation-guide-windows)
|
||||
* [Docker](/docs/installation-guide-docker)
|
||||
*
|
||||
|
||||
### Project Setup
|
||||
|
||||
@@ -19,7 +20,7 @@ This guide will help you get started with Chatwoot!
|
||||
* [Conversation Continuity with Email](/docs/conversation-continuity)
|
||||
* [Common Errors](/docs/common-errors)
|
||||
|
||||
### Deployment
|
||||
### Deploying Chatwoot in Production
|
||||
|
||||
* [Architecture](/docs/deployment/architecture)
|
||||
* [Heroku](/docs/deployment/deploy-chatwoot-with-heroku) (recommended)
|
||||
|
||||
@@ -81,7 +81,21 @@ docker-compose run -rm server bundle exec rake db:reset
|
||||
|
||||
This command essentially runs postgres and redis containers and then run the rake command inside the chatwoot server container.
|
||||
|
||||
### Docker for production
|
||||
### Running Cypress Tests
|
||||
|
||||
Refer the docs to learn how to write cypress specs
|
||||
https://github.com/shakacode/cypress-on-rails
|
||||
https://docs.cypress.io/guides/overview/why-cypress.html
|
||||
|
||||
```
|
||||
# in terminal tab1
|
||||
overmind start -f Procfile.test
|
||||
# in terminal tab2
|
||||
yarn cypress open --project ./test
|
||||
```
|
||||
|
||||
|
||||
### Debugging Docker for production
|
||||
|
||||
You can use our official Docker image from [https://hub.docker.com/r/chatwoot/chatwoot](https://hub.docker.com/r/chatwoot/chatwoot)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user