update README.md
This commit is contained in:
parent
fe8beebeb0
commit
172d5125ac
24
README.md
24
README.md
@ -29,33 +29,41 @@ packages, you will probably want the following:
|
|||||||
|
|
||||||
## Testing Installation
|
## 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
|
source ./venv/bin/activate
|
||||||
|
|
||||||
3. Install dependencies through `pip`.
|
4. Install dependencies through `pip`.
|
||||||
|
|
||||||
pip install -r requirements.txt
|
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
|
Make sure to uncomment the appropriate database section (either sqlite or
|
||||||
PostgreSQL).
|
PostgreSQL).
|
||||||
|
|
||||||
mv personalsite/settings.py.example personalsite/settings.py
|
mv personalsite/settings.py.example personalsite/settings.py
|
||||||
|
|
||||||
5. Migrate changes.
|
6. Check syntax.
|
||||||
|
|
||||||
|
./manage.py check --deploy
|
||||||
|
|
||||||
|
7. Migrate changes.
|
||||||
|
|
||||||
./manage.py migrate
|
./manage.py migrate
|
||||||
|
|
||||||
6. Create superUSER
|
8. Create superUSER
|
||||||
|
|
||||||
./manage.py createsuperuser
|
./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
|
./manage.py runserver
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user