Use the below content to quickly understand and see what Sourcegraph can do.
Developer platform built on 3 pillars:
module "sourcegraph" { | |
source = "github.com/sourcegraph/deploy-sourcegraph-aws" | |
vpc_id = "vpc-b3708ed4" | |
subnet_id = "subnet-091a876e" | |
app_name = "sourcegraph-demo" | |
instance_type = "t2.xlarge" | |
key_name = "ryan-blunden" | |
} |
alias aws-list-vpcs="aws ec2 describe-vpcs | jq '.Vpcs[] | {VpcId,Tags}'" | |
alias aws-list-key-pairs="aws ec2 describe-key-pairs | jq '.KeyPairs[].KeyName'" |
#!/usr/bin/env bash | |
export SOURCEGRAPH_VERSION=3.14.0 | |
export USER_HOME=/home/ubuntu | |
export SOURCEGRAPH_CONFIG=/etc/sourcegraph | |
export SOURCEGRAPH_DATA=/var/opt/sourcegraph | |
export PATH=$PATH:/usr/local/bin | |
export DEBIAN_FRONTEND=noninteractive | |
export CAROOT=${SOURCEGRAPH_CONFIG} | |
export IP_ADDRESS=$(echo $(hostname -I) | awk '{print $1;}') |
yum clean all | |
yum update -y | |
yum upgrade -y | |
amazon-linux-extras install -y ruby2.6 redis4.0 GraphicsMagick1.3 \ | |
postgresql10 epel | |
yum install -y postgresql-server postgresql-devel libicu-devel cmake \ | |
gcc gcc-c++ ed fontconfig freetype libfreetype.so.6 libfontconfig.so.1 \ |
version: '3.7' | |
services: | |
sourcegraph: | |
container_name: sourcegraph | |
image: sourcegraph/server:3.8.1 | |
environment: | |
- SRC_LOG_LEVEL=dbug | |
ports: | |
- '80:7080' | |
- '443:7443' |
[ | |
{ | |
"id": 1, | |
"title": "How to teach programming (and other things)?", | |
"description": "Everyone should learn programming, right? Yes! But how... Should we allow children to explore and learn about syntax on their own, or should we drill programming like we rote memorize the table of multiplication or German grammatical cases? Felienne's talk outlines this history of programming education and didactics beliefs in programming that lead to the prevalence of exploratory forms of teaching, starting with Papert's LOGO. She will then explore programming education in relation to mathematics and language education and explore how rote learning could look like for programming. Felienne will discuss her own research into misconceptions and code phonology as means to teach programming more effectively.", | |
"slidesDoc": "", | |
"speakers": [ | |
{ | |
"name": "Felienne Hermans", | |
"gitHubUrl": "https://github.com/Felienne", |
Presuming you have access to the Sourcegraph Docker container and the container name is sourcegraph
:
docker container exec sourcegraph psql -U postgres sourcegraph -c 'SELECT id, username, passwd FROM users'
$ID
variable:Live blog assignments are at http://bit.ly/gophercon-2019-liveblog-assignments