diff options
author | Jesús <heckyel@hyperbola.info> | 2019-02-04 18:27:29 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2019-02-04 18:27:29 -0500 |
commit | 172d5125acabbc1b5e7ef584906d286dde3ee75c (patch) | |
tree | 8496d34b8c9f1b84bcbbe819133f8fb22f8462fd /README.md | |
parent | fe8beebeb05b216fccec97260df22e5537909aeb (diff) | |
download | personal-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.md | 24 |
1 files changed, 16 insertions, 8 deletions
@@ -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 |