diff options
author | Marvin Borner | 2018-09-19 17:44:07 +0200 |
---|---|---|
committer | Marvin Borner | 2018-09-19 17:44:07 +0200 |
commit | 228cc888864f413d5ff67b7ae1b671766cede1ef (patch) | |
tree | fdf3be5b68f1e2bbf44744b9e8a09db5947ea36e | |
parent | 4f751868837a0f78423c927c6cd4aeb24bf37c00 (diff) |
Updated instructions :memo: :art:
-rw-r--r-- | README.md | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6,7 +6,8 @@ After it has finished the information gathering, it will go on by using the firs 1. Create a mysql database: `mysql -u username -p` and `CREATE DATABASE database_name;` 2. Import the `database.sql` file into your database with `mysql -u username -p database_name < database.sql` 3. Edit `mysql_conf.inc` according to your databases credentials -4. Run `php crawler.php http://dmoztools.net/` (or any other domain) -5. For future runs, just execute `php crawler.php` and it will automatically start with the first url of the queue +4. Run `cd crawler && php crawler.php http://dmoztools.net/` (or any other domain) +5. For future runs, just execute `cd crawler && php crawler.php` without any arguments and it will automatically + start with the first url of the queue 6. Finished!
\ No newline at end of file |