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