This reverts commit 832d1f6763.
2.4 KiB
Installation
Requirements
System
- Any flavour of Linux, OSX or Windows
- 1GB memory (minimum)
- 5GB storage (minimum)
Installation From Source
Requirements
There are some runtime requirements for running Talk from source:
Please be sure to check the versions of these requirements. Insufficient versions of these may lead to unexpected errors!
Installing
# Download the tarball containing the repository
curl -L https://github.com/coralproject/talk/tarball/master -o coralproject-talk.tar.gz
# Untar that file and change to that directory
tar xpf coralproject-talk.tar.gz
mv coralproject-talk-* coralproject-talk
cd coralproject-talk
# Install package dependancies
yarn
# Build static files
yarn build
Running
Refer to the README.md file for required configuration variables to add to the
environment.
You can start the server after configuring the server using the command:
yarn start
You can see other scripts we've made available by consulting the package.json
file under the scripts key including:
yarn testrun unit testsyarn e2erun end to end testsyarn build-watchwatch for changes to client files and build static assetsyarn dev-startwatch for changes to server files and reload the server
Installation From Docker Hub
Requirements
There are some runtime requirements for running Talk for Docker:
- MongoDB v3.2 or later
- Redis v3.2 or later
- Docker v1.13.0 or later
- Docker Compose v1.10.0 or later
Please be sure to check the versions of these requirements. Insufficient versions of these may lead to unexpected errors!
Installing
# Create a directory for talk
mkdir coralproject-talk
cd coralproject-talk
# Download the docker-compose.yml file from the repository
curl -LO https://raw.githubusercontent.com/coralproject/talk/master/docker-compose.yml
At this stage, you should refer to the README.md file for required
configuration variables to add to the environment key for the talk service
listed in the docker-compose.yml file.
Running
# Start the services using compose
docker-compose up -d