Special Thanks to lordkator for the initial FastTrack VM Image and the scripts that this repository is based on.
VirtualBox, VMWare, or native install.
8g mem
32g virtual drive
max cores
bridged network
(or variant)
- Debian - https://www.debian.org/
- pointLinux - http://pointlinux.org/
- MakuluLinux - http://makululinux.com/
- LinuxMint Debian Edition - http://www.linuxmint.com/download_lmde.php
- username = swgemu
- password = 123456
- root pw = 12345678
(*)Debian Desktop
(*) Gnome
(*)Print Server
(*)Standard System Utilities
Copy this series of commands into a terminal: Installs git, downloads scripts and installs them.
sudo apt-get update && sudo apt-get install -y -q git && git clone https://github.com/Scurby/Testing.git && cp -i /home/swgemu/Testing/README.md /home/swgemu/Documents && mkdir bin && cp -i /home/swgemu/Testing/bin/* /home/swgemu/bin/ && mkdir setup && cp -i /home/swgemu/Testing/setup/* /home/swgemu/setup/ && mkdir run && cp -r /home/swgemu/Testing/run/* /home/swgemu/run/ && chmod -v +x /home/swgemu/bin/* && export PATH=$PATH:$HOME/bin
The following scripts are run from the command line. They are numbered in the order I use them.
- options - Installs Optional packages including xclip, vim, quassel, and others. Asks to run 'first' script.
- first - Installs required packages and programs including Lua, BerkelyDB, and others. Asks to run 'start' script.
- start - Setup of development environment follows these steps:
- Choose editor
- Setup git user.* config
- Setup ssh key
- Register on gerrit
- Test Gerrit setup
- Clone repos and checkout a local branch of Core3 origin/unstable
- Symlinks (idlc)
- Engine library
- MySQL database checks
- Server configuration
- Tre files
- Asks if you want to build and run the server.
- build - simple build script
- 3 options- build, build config, build clean
- run_dev - Builds and runs the development server.
- Using this command to start the server will:
- launches the server under gdb on a 'screen'.
- outputs a screenlog to ~/run/screenlog*
- use the config.lua in ~/run/conf/ to relace the config.lua in ~/MMOCoreORB/bin/conf.
- uses gdb in batch mode and starts with the commands in ~/run/run_gdb which you can change to your pleasing; (breakpoints, dumps, settings etc.)
- eclipse - Installs eclipse luna, imports project and sets git team properties.
- (Requires Egit-properties.tar.gz in /home/setup/ )
- (Requires indexing exlusions)
- latest - do a quick git-stash, git-pull, and git-stash-apply so you can get to the latest code w/o loosing local work.
- ack - Nice source grep tool (try: cd ~/workspace/MMOCoreORB/src; ack PlanetManager).
- freeze - Save your devenv state so you can repeat the same tests over and over.
- thaw - allow server to continue from previous state each time you run it.
- extras - Installs EXTRA packages.
- full - options, first, and start scripts combined. Refactor to here
- cleanup_for_publish - Strips virtual machine down for distribution, creates version number, resets pwds, etc. USE WITH CAUTION!!!
- createdb - mysql table, user, and pwd tool.
- myip - display the ip of the VM and login port for quick configuration of the windows client.
- updateip - Get ip address of local eth0 and update galaxy table as needed.
- installed - Package and version check saved to /home/.txt.
prime - Provides info to set sudo permissions.bang - dl's and installs these scriptsidlc - idlc install tool
- git log --pretty=format:'%h was %an, %ar, message: %s' -10
- PATH=$PATH:$HOME/bin
- openfile {filename} - open file in eclipse
- godmode - sets acct with ID=1 to Admin (15). Run after first acct is created.