d899ffb849
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
45 lines
985 B
Plaintext
45 lines
985 B
Plaintext
## Basic Install
|
|
|
|
# Create local_settings.py, you can override settings.py stuff here
|
|
touch local_settings.py
|
|
|
|
# Initialize database
|
|
./manage.py syncdb
|
|
./manage.py migrate
|
|
|
|
# emerge euscan, or add euscan to your path somehow
|
|
|
|
# Scan htop
|
|
./manage.py scan-portage htop # Scan ebuilds
|
|
./manage.py scan-metadata htop # Lookup for maintainers, herds, etc...
|
|
./manage.py scan-upstream htop # Run euscan
|
|
|
|
# Scan dev-python
|
|
eix --only-names -C dev-python | ./manage.py scan-portage
|
|
eix --only-names -C dev-python | ./manage.py scan-metadata
|
|
eix --only-names -C dev-python | ./manage.py scan-upstream
|
|
|
|
# Update counters at end of scan
|
|
./manage.py update-counters # Update counters, graphs, etc...
|
|
|
|
# Start server
|
|
./manage.py runserver
|
|
|
|
|
|
## Importing a snapshot
|
|
|
|
# Remove database
|
|
|
|
# Reinitialize database
|
|
./manage.py syncdb
|
|
./manage.py migrate
|
|
|
|
# Import snapshot
|
|
./manage.py loaddata snapshot-yyyymmdd.js
|
|
|
|
rm -rf rrd/*
|
|
rm -rf euscan.cache
|
|
rm -rf media/charts/*
|
|
|
|
./manage.py regen-rrds
|