New base image
[discourse_docker.git] / image / discourse_bench / run_bench.sh
CommitLineData
bb7f0d46
GS
1#!/bin/bash
2
3# start Redis-Server
4redis-server /etc/redis/redis.conf
5
6# start PostgreSQL
7/etc/init.d/postgresql start
8
9# get latest source
10git pull
11
12# install needed gems
13sudo -E -u discourse bundle install
14
15# start mailcatcher
16mailcatcher --http-ip 0.0.0.0
17
18# run the benchmark
19sudo -E -u discourse ruby script/bench.rb