Improve, restructure documentation and add screenshot

This commit is contained in:
Sebastian Serth
2020-10-20 12:13:30 +02:00
parent 92be9d56ee
commit d25dd41ccf
18 changed files with 3 additions and 1 deletions

View File

@@ -0,0 +1,28 @@
############# codeocean install ###########################
cd /home/debian/codeocean_host
#install rails and bundler
echo "Install Rails..."
gem install rails
echo "Done"
echo "Install Bundler..."
gem install bundler
echo "Done"
# install required gems
bundle install
# copy config files
for f in action_mailer.yml database.yml secrets.yml sendmail.yml smtp.yml code_ocean.yml
do
if [ ! -f config/$f ]
then
cp config/$f.example config/$f
fi
done
# Manual Task:
# if necessary adjust db config
echo "Check if settings in database.yml correspond with your database setup."
cat /home/debian/codeocean_host/config/database.yml