This repository has been archived by the owner on Oct 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Configuration
Zeyuan Shang edited this page Dec 10, 2015
·
8 revisions
-
Configure your vagrant file: Rename
vagrant/Vagrantfile_example
tovagrant/Vagrantfile
and modify the configurations if necessary. -
Start virtual machine:
vagrant up
If the host machine is using proxy, please edit the script bootstrap.sh and set http_proxy to the proxy that is to be used.
- Configure MySQL in Vagrant Please follow the steps in https://gist.github.com/demagu/578f61998fa0d4ea75d8.
Note that you need to add user vagrant
to the group adm
to get the permission for reading the log files of MySQL.
- Configure Database Log Location
Please configure the locations of log file in
cmudbac/settings.py
by modifying the variableLOG_FILE_LOCATION
.
Please change your Google Analytics in cmudbac/settings.py
by modifying the variable GOOGLE_ANALYTICS_KEY
.
As we crawl and download repositories from GitHub, you are supposed to provide a GitHub account for a better use of GitHub API. Please make a new direcotry secrets
and add a new secrets.json
file in the directory as:
{
'user': 'YOUR_GITHUB_USERNAME',
'pass': 'YOUR_GITHUB_PASSWORD'
}
- Start the repository crawler:
python scripts/crawl_repos.py
- Start the repository deployer:
python deploy_repos.py