Portal for finding github profiles of people related on the basis of organisations.
The project is live here
- Install redis-server and mysql
$ sudo apt-get install redis-server
$ sudo apt-get install mysql-server
- Install requirements
$ pip install -r requirements.txt
- Create DB Stalker in mysql, change the password accordingly in
config.py
- Set the environment variables for reCAPTCHA
$ export RECAPTCHA_SITE_KEY="public key"
$ export RECAPTCHA_SECRET_KEY="secret key"
- Share the email server credentials in
config.py
- Migrate the DB tables
$ python task.py db init
$ python task.py db migrate
$ python task.py db upgrade
In case above commands gives error. Delete the migration folder and delete alembic_version table in the database. And run the above three commands again.
mysql> SELECT * FROM alembic_version;
mysql> DROP TABLE alembic_version;
$ python task.py db init
$ python task.py db migrate
$ python task.py db upgrade
Run each in a different terminal window...
# redis
$ redis-server
# worker process
$ python worker.py
# the app
$ python routes.py