HITMAPS is an interactive site for viewing maps for the Hitman series.
- Fork the repo to your own GitLab account
- In the Config folder, make the following changes:
- Copy Settings.php.example to Settings.php (don't rename it as this example file should stay in source control). Then fill out the following properties:
databaseHost
: Your MySQL server's host locationdatabaseUser
: Your MySQL server database userdatabasePassword
: The password to your MySQL databasedatabaseName
: The name to your MySQL databaseaccessKey
: A random stringloggingEnvironment
: Keep this 'development'loggingAccessToken
: If you want to use Rollbar integration for logging, put your Rollbar token here.superSecretPublicCode
: The registration code to register an accountrecaptchaSiteKey
: Use '6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI'recaptchaSiteSecret
: Use '6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe'emailMethod
: Use either 'SMTP' or 'MAILGUN'smtp[Domain|Username|Password]
: SMTP server information if using SMTPnoReplyEmail
: The "from" address when sending out emailsbccEmail
: An email address if you want a copy of all emails sent out copied to 1 addressmailgun[ApiKey|Domain]
: Mailgun API information if using Mailgun
- If you want to have push notification support, you will have to create a
Firebase account and project, and then export the
firebase-service-account.json
file to this folder
- Copy Settings.php.example to Settings.php (don't rename it as this example file should stay in source control). Then fill out the following properties:
- Copy
phinx.yml.example
tophinx.yml
and update thedatabase
section with your MySQL database's information - Run
composer install
in the root folder to install all necessarycomposer
dependencies - Run
vendor\bin\phinx migrate -e development
in the root folder to run all necessary database migrations - Run
php -S localhost:8000
to run the local PHP development server and get started with development 🙂
- Open a new issue in the issues section explaining what change / feature you want to work on. That way, the project owner is aware of the change you want to make and can help with any questions, etc.
- Make the necessary changes on your fork, making sensible commits along the way
- Open a merge request to submit your changes once they are complete
HITMAN™, HITMAN™ 2, the HITMAN™ logo, images, and text are the property of IO Interactive.