Once the environment is set, kurukshetra can be installed just like any other CMS. Installing kurukshetra is as simple as moving the downloaded files into webroot:
# Clone the github repo and move all the files into Web root git clone https://github.com/a0xnirudh/kurukshetra.git cd kurukshetra cp -r * /var/www/html/ # Appropriate permissions to the files chmod 755 -R /var/www/html # Make Apache the owner of **uploads** directory chown www-data /var/www/html/challenges/uploads
http://127.0.0.1 to navigate into installation (will auto redirect into /installation/).
To correctly initialize the database for the framework, the respective MySQL db credentials should be provided by the user and the same can be validated using the validate option provided.
Click next and enter the Google OAuth Client ID and Client secret and make sure the redirect URL is set to the path
http://your-domain.com/login/index.php in the OAuth settings. As of now the framework only supports Google OAuth based login.
Once the installation is done correctly, the localhost
http://127.0.0.1 should redirect to the user login page (only Google login is supported as of now).