So far I was running the app with the help of XAMPP, but any similarly configured combination of Apache server and MySQL should work as well.
- Running Apache server
- Running MySQL with a user priviliged for CRUD operations
- Git
They can be found
- in package managers,
- homebrew
- chocolatey
- among those many available in linux
- on official websites,
- or installed by root if on linux:
# wget https://www.apachefriends.org/xampp-files/7.1.10/xampp-linux-x64-7.1.10-0-installer.run
# chmod +x xampp-linux-x64-7.1.10-0-installer.run
# ./xampp-linux-x64-7.1.10-0-installer.run
- Navigate to the DocumentRoot directory (
htdocs
in case of XAMPP) - Download the source code with
git clone https://github.com/elias-po/simple-todo.git
- Navigate to simple-todo directory and create file
config.ini
- Create a database with a table (can use
dump.sql
) - Place database info and credentials of the priviliged user into
config.ini
(like inconfig_example.ini
)- dblocation - database IP address
- username - user's username
- password - user's password
- dbname - database name
- dbtable - table name Note: thit is not a safe way of storing credentials
- In the browser go to <server url>/simple-todo