Skip to content
This repository has been archived by the owner on Jan 3, 2019. It is now read-only.

README.md should be updated #3

Open
ikus060 opened this issue Nov 26, 2016 · 3 comments
Open

README.md should be updated #3

ikus060 opened this issue Nov 26, 2016 · 3 comments

Comments

@ikus060
Copy link

ikus060 commented Nov 26, 2016

The README file contains a lot of obsolete information. It's not easy to get started when the information provided is misleading.

1. Install prerequisites
Need to install extra packages to make install with pip work.

sudo apt-get install python-pip mysql-server libmysqlclient-dev libpython2.7-dev

missing in requirements
gdata and flask should be install too:

pip install gdata flask

Add a new sql file to create database and user.
createuser.sql:

CREATE DATABASE seocrawler;
CREATE USER 'seo'@'localhost' IDENTIFIED BY 'oes';
GRANT ALL PRIVILEGES ON seocrawler . * TO 'seo'@'localhost';
FLUSH PRIVILEGES;

Then I ran the following command line to create the database and the user with right permissions.

cat createuser.sql | mysql -uroot -p

Run crawler
To run crawler, you need to execute with:
./run_seocrawler.py --database config.yaml --base_url http://fashionista.com

Run repporter
./run_seoreporter.py --database config.yaml

ikus060 added a commit to ikus060/seosuite that referenced this issue Nov 27, 2016
Provide a SQL files to easily create a new database and a new user to
setup mysql.
ikus060 added a commit to ikus060/seosuite that referenced this issue Nov 27, 2016
Change the command line provided in README file to match the current
code base.
ikus060 added a commit to ikus060/seosuite that referenced this issue Nov 27, 2016
@thrashr888
Copy link
Contributor

Thanks for reviewing the README. If you'd like to send a PR, I'd be happy to merge it. Otherwise, we're in no rush to update this tool since we're not using it at the moment. I'll try to get to it though. Thanks! :)

@ikus060
Copy link
Author

ikus060 commented Nov 29, 2016

I've fork the project and made a lot of changes like for my own need.

@thrashr888
Copy link
Contributor

Glad you're getting value from this project! If there's anything you'd like to contribute back, I'll be more than happy to merge it in! :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants