It's a bit hard to find a category to fit this topic. I've setup a virtual machine for Hercules development for myself last weekend. I have a VDI (VirtualBox Disk Image) with the source, libs, and tools setup on it; tips from this post. It's sometimes helpful to pass around a disk image for new developers. Figure I'd share what I came up with.
The Download: herc_ro_dev-ubuntu-vdi.7z (I used MEGA as a site to share this. Maybe you know a better one)
Be aware: When you uncompress it, it'll need 12GB of space.
If you're on a mac, probably want p7zip to extract.
Information on the VM:
Operating System ..... Ubuntu 16.0 x64
Root Password ........ passwd1
User ................. dev
User Password ........ passwd1
Default Shell ........ zsh
MySQL Root Password .. passwd1
MySQL RO User ........ ragnarok
MySQL RO Password .... ragnarok
MySQL RO Database .... ragnarok
Paths (when you login as dev user):
~/git ........ I cloned the git repositories here. Already have Hercules cloned. Remember to update it. Profiles not configured.
~/svn ........ Subversion repositories.
~/script .... .zshrc sources a hercules.env in this directory.
~/foss ....... Directory with the FOSS packages I downloaded.
~/.app ....... Local binaries and development libraries for local dev user. Typically for overriding existing binaries and paths.
Installed software:
ZSH: Shell is only set for the dev user.
VIM: With plugins Vundle, YouCompleteMe, Syntastic, VIM-Commentary, VIM-GitGutter, Unite. Syntasic has been configured with Haru's syntax highlighter for scripting.
MySQL: The password and ragnarok user information above.
Visual Sudio Code: Already has C/C++ and Git plugins. Useful GUI-based IDE.
Useful Aliases (in ~/script/hercules.env):
cdr ........ Goes to the root directory of Hercules. (~/git/Hercules)
cds ........ Goes to Hercules source directory. (~/git/Hercules/src)
cdcommon ... common directory under hercules' source.
cdlogin .... login directory under hercules' source.
cdchar ..... char directory under hercules' source.
cdmap ...... map directory under hercules' source.
cdconfig ... config directory under hercules' source.
cdplugins .. plugins directory under hercules' source.
cdtest ..... test directory under hercules' source.
cdtool ..... tool directory under hercules' source.
Other:
I'd advise, if you decide to reconfigure Hercules, that you remember to set '-g' to the CFLAGS for debug information. Unless you're really good at reading assembly in GDB.
The Download: herc_ro_dev-ubuntu-vdi.7z (I used MEGA as a site to share this. Maybe you know a better one)
Be aware: When you uncompress it, it'll need 12GB of space.
If you're on a mac, probably want p7zip to extract.
Information on the VM:
Operating System ..... Ubuntu 16.0 x64
Root Password ........ passwd1
User ................. dev
User Password ........ passwd1
Default Shell ........ zsh
MySQL Root Password .. passwd1
MySQL RO User ........ ragnarok
MySQL RO Password .... ragnarok
MySQL RO Database .... ragnarok
Paths (when you login as dev user):
~/git ........ I cloned the git repositories here. Already have Hercules cloned. Remember to update it. Profiles not configured.
~/svn ........ Subversion repositories.
~/script .... .zshrc sources a hercules.env in this directory.
~/foss ....... Directory with the FOSS packages I downloaded.
~/.app ....... Local binaries and development libraries for local dev user. Typically for overriding existing binaries and paths.
Installed software:
ZSH: Shell is only set for the dev user.
VIM: With plugins Vundle, YouCompleteMe, Syntastic, VIM-Commentary, VIM-GitGutter, Unite. Syntasic has been configured with Haru's syntax highlighter for scripting.
MySQL: The password and ragnarok user information above.
Visual Sudio Code: Already has C/C++ and Git plugins. Useful GUI-based IDE.
Useful Aliases (in ~/script/hercules.env):
cdr ........ Goes to the root directory of Hercules. (~/git/Hercules)
cds ........ Goes to Hercules source directory. (~/git/Hercules/src)
cdcommon ... common directory under hercules' source.
cdlogin .... login directory under hercules' source.
cdchar ..... char directory under hercules' source.
cdmap ...... map directory under hercules' source.
cdconfig ... config directory under hercules' source.
cdplugins .. plugins directory under hercules' source.
cdtest ..... test directory under hercules' source.
cdtool ..... tool directory under hercules' source.
Other:
I'd advise, if you decide to reconfigure Hercules, that you remember to set '-g' to the CFLAGS for debug information. Unless you're really good at reading assembly in GDB.
Last edited by a moderator: