From b14516e32b279b10c6f5854eacbec0bf4db97baa Mon Sep 17 00:00:00 2001 From: Enhao Zhang Date: Tue, 6 Jun 2023 12:14:06 -0700 Subject: [PATCH] format --- README.md | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a31391e..842fdea 100644 --- a/README.md +++ b/README.md @@ -18,15 +18,18 @@ in equi_app/views.py line 67: change input_dir value to path to EQUI-VOCAL/inputs folder - # Start and stop the server +``` brew services restart postgresql@14 pg_ctl -D /usr/local/var/postgresql@14 restart brew services stop postgresql@14 +``` + # Connect to server The name of the database is `equi_app` - +``` psql equi_app +``` # Postgres UDF compile (macOS): @@ -36,7 +39,11 @@ cc -bundle -flat_namespace -undefined suppress -o functors.so functors.o ``` # Virtual environment +``` source env/bin/activate +``` # Django -python manage.py runserver \ No newline at end of file +``` +python manage.py runserver +``` \ No newline at end of file