-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsetup.txt
More file actions
62 lines (47 loc) · 1.68 KB
/
setup.txt
File metadata and controls
62 lines (47 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
ScreepsAutocomplete
// This lets Atom do auto-completion on the Screeps game API
* Download https://github.com/Garethp/ScreepsAutocomplete
* Copy ScreepsAutocomplete in to your project folder
* In Atom "settings", install the package "atom-ternjs"
* Create a file ".tern-project"
{
"ecmaVersion": 6,
"libs": [],
"loadEagerly": [
"ScreepsAutocomplete/**/*.js"
]
}
* Restart and Enjoy
Github integration
// The following goes to show my absolutely non-existing experience with git/github
// Seems to work, only time will tell what kind of problems it will cause down the road
* Download and install Git
* In Atom "settings", install the package "github-plus"
* Create a file ".gitignore"
ScreepsAutocomplete
* First time installation
- git config --global user.name "FloydATC"
- git config --global user.email floyd@atc.no
* First time setup of a repo
- git init
- git add .
- git commit -m "First commit"
- git remote add origin https://github.com/FloydATC/Swarm
- git remote -v
- git push origin master -f // WARNING! Forced push overwrites master branch!
* Additional workstation setup
- git clone https://github.com/FloydATC/Swarm
- git add .
- (edit)
- git commit -m "Description"
- git push origin master
* Typical work cycle
- git pull // Sync local files with Github
- (edit)
- git commit -m "Description"
- git push origin master
* Cache credentials
- git config --global credential.helper cache
- git config --global credential.helper "cache --timeout=86400"
Comments? Contact me: floyd@atc.no
Pull requests not accepted, sorry. I don't know how to deal with them.