Once the environment is set, let's install kurukshetra

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

Visit http://localhost or 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.

Installing kurukshetra
Installing and configuring kurukshetra

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 should redirect to the user login page (only Google login is supported as of now).