|
|
|
|
|
by roywiggins
4286 days ago
|
|
I was working on the assumption that environment would be already set up for them. Setting up Apache to test stuff locally, getting FTP set up to get into your remote server, etc is all a pain with PHP too. Once everything is set up, it's two-ish commands to commit and push to somewhere like Heroku. And no, I haven't taught beginners at all, I'll fess up to that. I've learned alongside them, though. PHP is a perfectly cromulent language/framework for this sort of thing, but something like Flask could be just as accessible. |
|
Right click xampp icon and start services
Ubuntu: sudo apt-get install apache2 php5 mysql-server php5-mysql
sudo service apache2 start/restart
sudo service mysql start/restart
copy files to /var/www/
"getting FTP set up to get into your remote server"
sudo apt-get install ssh sudo service ssh start