aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-02-04 18:27:29 -0500
committerJesús <heckyel@hyperbola.info>2019-02-04 18:27:29 -0500
commit172d5125acabbc1b5e7ef584906d286dde3ee75c (patch)
tree8496d34b8c9f1b84bcbbe819133f8fb22f8462fd /README.md
parentfe8beebeb05b216fccec97260df22e5537909aeb (diff)
downloadpersonal-site-172d5125acabbc1b5e7ef584906d286dde3ee75c.tar.lz
personal-site-172d5125acabbc1b5e7ef584906d286dde3ee75c.tar.xz
personal-site-172d5125acabbc1b5e7ef584906d286dde3ee75c.zip
update README.md
Diffstat (limited to 'README.md')
-rw-r--r--README.md24
1 files changed, 16 insertions, 8 deletions
diff --git a/README.md b/README.md
index 811ff8f..a5455d5 100644
--- a/README.md
+++ b/README.md
@@ -29,33 +29,41 @@ packages, you will probably want the following:
## Testing Installation
-1. Run `virtualenv`.
+1. Clone personal-site
- cd /path/to/personal-site && virtualenv ./venv/
+ git clone https://libregit.org/heckyel/personal-site.git
-2. Activate the virtualenv.
+2. Run `virtualenv`.
+
+ cd personal-site && virtualenv ./venv/
+
+3. Activate the virtualenv.
source ./venv/bin/activate
-3. Install dependencies through `pip`.
+4. Install dependencies through `pip`.
pip install -r requirements.txt
-4. Copy `settings.py.example` to `settings.py` and modify.
+5. Copy `settings.py.example` to `settings.py` and modify.
Make sure to uncomment the appropriate database section (either sqlite or
PostgreSQL).
mv personalsite/settings.py.example personalsite/settings.py
-5. Migrate changes.
+6. Check syntax.
+
+ ./manage.py check --deploy
+
+7. Migrate changes.
./manage.py migrate
-6. Create superUSER
+8. Create superUSER
./manage.py createsuperuser
-7. Use the following commands to start a service instance
+9. Use the following commands to start a service instance
./manage.py runserver