aboutsummaryrefslogtreecommitdiffstats
path: root/rust/INSTALL.md
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-15 15:39:59 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-03-15 15:39:59 -0700
commit705ac0fba2dc879115509006ce4fdfae8c9fc5c0 (patch)
treef6b15989ba1b314baec8e0914fbd8749ac111938 /rust/INSTALL.md
parent7f708f1835be5011cb393d0f53252893369989d6 (diff)
downloadfatcat-705ac0fba2dc879115509006ce4fdfae8c9fc5c0.tar.gz
fatcat-705ac0fba2dc879115509006ce4fdfae8c9fc5c0.zip
update dev setup instructions
Diffstat (limited to 'rust/INSTALL.md')
-rw-r--r--rust/INSTALL.md7
1 files changed, 3 insertions, 4 deletions
diff --git a/rust/INSTALL.md b/rust/INSTALL.md
index 7b7d6001..462072dc 100644
--- a/rust/INSTALL.md
+++ b/rust/INSTALL.md
@@ -2,12 +2,12 @@
Canonical IA production/QA ansible scripts are in the journal-infra repo. These
directions are likely to end up out-of-date.
-## Simple Deployment
+## Simple Server Deployment
To install manually, on a bare server, as root:
adduser fatcat
- apt install postgresql-9.6 postgresql-contrib postgresql-client-9.6 \
+ apt install postgresql-11 postgresql-contrib postgresql-client-11 \
nginx build-essential git pkg-config libssl-dev libpq-dev \
htop screen
mkdir -p /srv/fatcat
@@ -16,7 +16,6 @@ To install manually, on a bare server, as root:
# setup new postgres user
su - postgres
createuser -P -s fatcat # strong random password
- # DELETE: createdb fatcat
# as fatcat user
su - fatcat
@@ -25,7 +24,7 @@ To install manually, on a bare server, as root:
source $HOME/.cargo/env
cargo install diesel_cli --no-default-features --features "postgres"
cd /srv/fatcat
- git clone git@git.archive.org:webgroup/fatcat
+ git clone https://github.com/internetarchive/fatcat.git
cd rust
cargo build
echo "DATABASE_URL=postgres://fatcat@localhost/fatcat" > .env