- Download docker-compose.yml to dir named
sentry - Change
SENTRY_SECRET_KEYto random 32 char string - Run
docker-compose up -d - Run
docker-compose exec sentry sentry upgradeto setup database and create admin user - (Optional) Run
docker-compose exec sentry pip install sentry-slackif you want slack plugin, it can be done later - Run
docker-compose restart sentry - Sentry is now running on public port
9000
| #!/bin/sh | |
| # need to have at least 2.5GB of memory of this install may fail - see docs | |
| # todo 13:52:28 [WARNING] sentry.utils.geo: settings.GEOIP_PATH_MMDB not configured. | |
| SENTRYDB='sentry' | |
| SENTRYUSER='sentry' | |
| SENTRYPW='sentrypw' | |
| # sudo apt-get install -y postgresql postgresql-contrib redis | |
| sudo apt-get install -y postgresql redis |
title: Setting Up Laravel in Ubuntu / DigitalOcean keywords: servers, laravel, coderstape, coder's tape description: Let's take a look at settting up a server from scratch for Laravel. date: April 1, 2019 tags: servers, laravel permalink: setting-up-laravel-in-ubuntu-digitalocean img: https://coderstape.com/storage/uploads/GZTXUbyGum2xeUZM9qBD5aPv8EKLwG3C8RGcRon4.jpeg author: Victor Gonzalez authorlink: https://github.com/vicgonvt
| package | |
| { | |
| /** | |
| * ActionScript 3.0 Code Snippet | |
| * Convert Number to Rupiah & vice versa | |
| * https://gist.github.com/845309 | |
| * | |
| * Copyright 2011-2012, Faisalman | |
| * Licensed under The MIT License | |
| * http://www.opensource.org/licenses/mit-license |
This text is the section about OS X Yosemite (which also works for macOS Sierra) from https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#mac-os-x
The last time i visited this link it was dead (403), so I cloned it here from the latest snapshot in Archive.org's Wayback Machine https://web.archive.org/web/20170523131633/https://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/
##Windows users:
- Download wamp: http://www.wampserver.com/en/
- Download and extract cmder mini: https://github.com/cmderdev/cmder/releases/download/v1.1.4.1/cmder_mini.zip
- Update windows environment variable path to point to your php install folder (inside wamp installation dir) (here is how you can do this http://stackoverflow.com/questions/17727436/how-to-properly-set-php-environment-variable-to-run-commands-in-git-bash)
cmder will be refered as console
##Mac Os, Ubuntu and windows users continue here:
- Create a database locally named
homesteadutf8_general_ci
| package com.hendisantika.thread; | |
| import java.util.Collections; | |
| import java.util.HashMap; | |
| import java.util.Hashtable; | |
| import java.util.Map; | |
| import java.util.concurrent.ConcurrentHashMap; | |
| import java.util.concurrent.ExecutorService; | |
| import java.util.concurrent.Executors; | |
| import java.util.concurrent.TimeUnit; |
| image: java:8-jdk | |
| stages: | |
| - build | |
| - test | |
| - deploy | |
| before_script: | |
| # - echo `pwd` # debug | |
| # - echo "$CI_BUILD_NAME, $CI_BUILD_REF_NAME $CI_BUILD_STAGE" # debug |
| import java.io.ByteArrayInputStream; | |
| import java.io.File; | |
| import java.io.FileOutputStream; | |
| import java.io.IOException; | |
| import java.io.InputStream; | |
| import org.apache.logging.log4j.LogManager; | |
| import org.apache.logging.log4j.Logger; | |
| import org.springframework.web.multipart.MultipartFile; |