A website that will help people to learn to program.
Learn2program was made as part of a programming project databases course at the University of Antwerp.
Learn2program was written using PHP, Laravel, HTML5, CSS3 and JavaScript.
- mysql-server
- composer
- mcrypt
- php5-cli
- php5-curl
- php5-mysql
- php5-mcrypt
Enable mcrypt
$ sudo php5enmod mcrypt
Install the php dependencies (sudo rights may be required)
$ cd htdocs/
$ composer update
$ composer install
Run the install script
$ cd install/
$ ./install.sh -all (or -init or -seed)
This will initialize the database and seed it with some default entries.
$ cd htdocs/
$ php artisan serve
The website is now accessible at http://localhost:8000/
#####Optional: Custom URL & port Add the following entry to /etc/hosts
127.0.0.1 learn2program.dev www.learn2program.dev
Then run
$ sudo php artisan serve --host=learn2program.dev --port=80
##Routes To see the list of routes
$ php artisan route:list
Run php artisan for more interesting commands.
Armin Halilovic
Bruno de Deken
Raphael Assa
Fouad Kichauat