speed. I am speed.
The purpose of flashgordon is to gather useful data from the internet as quickly as possible.
A crawler will be ran to make get requests to URLs, parse the data from the response, and store relevant data.
As this goal is not a destination but rather a measure of improvement, the metrics used to measure progress will be Integrity and Performance.
The data collected should be everything needed/useful, and the process used to collect it should be reliable, safe, and loving.
Any changes made to the project should clearly improve its integrity.
All processes within flashgordon should be fast and require as little work as possible to complete.
Any changes made to flashgordon should measurably improve its performance.
- Install postgres with
sudo apt install postgresql
- Start postgres with
systemctl services postgres start
- Create role and database
sudo su - postgres
psql
create role flash with login password ‘password’; grant all privileges on database lightning_db to flash; alter database lightning_db owner to flash;
- Clone the repository
pip3 install -r requirements.txt
pip3 install psycopg2
if it's not in the requirements- Configure postgres
python3 manage.py migrate
python3 manage.py crawler