Skip to content
Snippets Groups Projects
Commit 896b9958 authored by Travis Savo's avatar Travis Savo
Browse files

add 7 to vexor build

parent f77d5e5a
No related branches found
No related tags found
No related merge requests found
Pipeline #
language: node_js
node_js:
- "6"
- "7"
script:
- npm test
# Contributing
 
We love pull requests from everyone.
We love pull requests from everyone. Here's the steps to get going with development:
 
Fork, then clone the repo:
###Step 1: Fork, then clone the repo:
 
git clone git@github.com:your-username/malice.git
 
Set up your machine:
###Step 2: Set up your machine:
 
nvm use 7
npm install
 
Make sure the tests pass:
###Step 3: Make sure the tests pass:
 
npm test
 
Start up the server:
###Step 4: Create a new Gmail account for sending mail, and create a .credentials file.
Be sure to enable allow less secure apps: https://support.google.com/accounts/answer/6010255?hl=en
 
npm start
```json
{
"username":"myuser@gmail.com",
"password":"************"
}
```
 
Make your change. Add tests for your change. Make the tests pass Push to your fork and [submit a pull request][pr].
'.credentials' is in the .gitignore. Please don't commit your credentials to the repo.
###Step 5: Start up the server:
npm start &
###Step 6: Connect to your locally running machine:
telnet localhost 5555
###Step 7: Create a character, log in.
At this point you should be able to start issuing commands.
###Step 8: Read our style guide.
The style of coding is very unique and is constrained by a number of factors, but the good news is if you make a change to a script file in the /src directory, your changes will be loaded, live, against your running copy.
This is required reading: https://github.com/TSavo/Malice/wiki/Style-guide
###Step 9: Make your change.
Add tests for your change. Make the tests pass!
###Step 10: Push to your fork and [submit a pull request][pr].
 
[pr]: https://github.com/tsavo/malice/compare/
 
Loading
Loading
Loading
Loading
@@ -111,7 +111,7 @@ global.$game.common.login.createConfirmationCode = ->
 
global.$game.common.login.sendEmail = (username, email, confirmationCode) ->
nodemailer = require('./node_modules/nodemailer')
credentials = JSON.parse(require("./src/loader").loadResourceSync("./.credentials"))
credentials = JSON.parse(require("loader").loadResourceSync(".credentials"))
transporter = nodemailer.createTransport
service: 'Gmail',
auth:
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment