update README.md

This commit is contained in:
Jesús 2019-02-04 18:27:29 -05:00
parent fe8beebeb0
commit 172d5125ac
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766

View File

@ -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