aboutsummaryrefslogtreecommitdiffstats
path: root/rust/INSTALL.md
diff options
context:
space:
mode:
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