Skip to content

Instantly share code, notes, and snippets.

@mrtonyhuynh
Forked from tarlepp/hackday.txt
Created January 11, 2016 09:53
Show Gist options
  • Save mrtonyhuynh/786718f9ba1fa48d1eb4 to your computer and use it in GitHub Desktop.
Save mrtonyhuynh/786718f9ba1fa48d1eb4 to your computer and use it in GitHub Desktop.
Hello!
Basic installed stuff:
- PHP (5.5.12) (see http://localhost/info.php)
- Node (0.12.2)
- MySql (5.5.41)
- Phalcon (2.0.0)
- PostgreSQL
- Mongo
- Android development environment (note that you cannot actually run android vm inside this vm, darn... I'll try to figure out this though)
- other tools; composer, gulp, bower, etc.
+ lot's of usefull stuff for dev...
Credentials:
- always use password 'hackday' it should be 'root' password for all that you need. Although passwords maybe empty too :D
Tools / programs:
- See top bar all is there, and if you need something just install it :D (you know that 'apt-get install' just works :D)
- IDEs:
* PhpStorm (need license if expired update or just use EAP version)
* WebStorm (need license if expired update or just use EAP version)
* Atom
* Sublime Text 2
* Android Studio (And this is also awesome "product" from JetBrains)
- Databases
* MySql
* PostgreSQL
* Mongo
- Tools:
* PhpMyAdmin
* PgAdmin3
* UMongo
* Robomongo
* Android SDK + stuff
Starter projects on this image:
- Sails.js (node.js, http://sailsjs.org/)
- Laravel (PHP, http://laravel.com/)
- Yii2 (PHP, http://www.yiiframework.com/)
- Meteor (node.js, https://www.meteor.com)
- Sane stack (sails.js / ember.js http://sanestack.com/)
- Angular / Sails.js "boilerplate (sails.js / angular.js, https://github.com/tarlepp/angular-sailsjs-boilerplate)
- ionic (node.js, http://ionicframework.com/)
- Phalcon (PHP, http://phalconphp.com/en/)
All projects are 'installed' to your home directory projects folder '/home/hackday/projects/*', also note that every boilerplate/starter project should work at the start, so just pick one for your needs and start to do actual code! I recommend that you make new directory for your hackday project.
Below is some detailed information about each of these frameworks, eg how to run it and so on... And remember these 'instructions' are not completely, you have to figure some things out yourself, be a real man/woman and don't complain everything that won't work, just make things happen + you should learn something new all the time, right!
Sails.js:
Open shell and go to 'projects/hackday-sails' directory and start sails with command 'sails lift', then just open 'http://localhost:1337' url with your favorite browser.
sources: /home/hackday/projects/hackday-sails
Laravel:
This one is easy as hell, just open 'http://localhost/hackday-laravel/' url with your favorite browser.
sources: /home/hackday/projects/hackday-laravel
Yii2:
And again this is easy as hell, just open 'http://localhost/hackday-yii2-basic/' url with your favorite browser. Also note that there is advanced exaple application for Yii2 installed.
sources: /home/hackday/projects/hackday-yii2-basic
/home/hackday/projects/hackday-yii2-advanced (note this isn't configured to apache, uses multi-tier configuration)
Meteor:
Open shell and go to 'projects/hackday-meteor' directory and start application with command 'meteor', then just open 'http://localhost:3000/' url with your favorite browser.
Sane:
This is sails.js + ember.js solution. Open shell and go to 'projects/hackday-sane' directoru and start application with following command 'sane up' to start the sails server on 'http://localhost:1337' as well as the ember dev server on 'http://localhost:4200'.
Angular / Sails.js "boilerplate:
This one one is my (tarlepp/tle) personal app to provide example how to separate back- and frontend totally. All information about running this you should see from github repo: https://github.com/tarlepp/angular-sailsjs-boilerplate
sources: /home/hackday/projects/angular-sailsjs-boilerplate-master
Phalcon:
And once again really simple stuff, just open 'http://localhost/hackday-phalcon/' url with your favorite browser. The base of this is found 'https://github.com/phalcon/mvc/tree/master/multiple-shared-layouts', so nothing fancy just starter.
Ionic:
This one isn't working like it should, just because of you cannot run android VM's directly inside another VM. I'm still working to resolve this one out though. But basically you have opportunity to check this out too.
Android Studio:
This one is for pure android development. Basically all should work like a charm expect actual android VM, see comments from 'ionic' platform. I added this just for the fun to show people how 'simple' this kind of stuff really is (and basically isn't so easy...) :D
Notes to all of these...
1) Basic PHP apps are just symlinked to '/var/www/html/' directory if you need more just make more symlinks... :D
2) node.js apps will need to start with specified shell command, see docs for this
3) all of these 'installed' apps are just the 'basics' of each, so nothing extra are here...
And just for the note, this wasn't so easy to get all to work together...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment