#bahnplan
Place to share my travel plans.
In the folder inc
, you can find a file called Configuration.sample.php
. Duplicate it and delete ".sample", so you have Configuration.php
. Next to some text boxes which you might want to change, you can find some default database config:
"db" => [
"host" => "localhost",
"user" => "root",
"pass" => "",
"db" => "bahnplan"
]
Change this to your database config. At this point, you may also change the other things as you surely don't want to promote my Travel plans, but your own. footer
supports markdown. Please enclosure all "
with backslashes (\
).
In order to grab data from Twitter (eg avatar pictures), Twitter requires you to create an application at apps.twitter.com. You'll have to do the following steps:
- Create an app (name it whatever you want).
- Change the Access Level to "Read and write".
- Create yourself an Access Token in the "Keys and Access Tokens"-tab. You will find that button on the bottom of the page.
- Then open your
Configuration.php
and change the following code:
"twitter" => [
"app" => [
"key" => "YOUR_APP_KEY",
"secret" => "YOUR_APP_SECRET"
],
"user" => [
"token" => "YOUR_USER_TOKEN",
"secret" => "YOUR_USER_SECRET"
]
]
Change the things to the stuff you have from Twitter.
You can access admin/ with credentials: jannik
: 123456
. You may want to change these things in the database.
- scss
- font-awesome
- Google Maps API 3
- jquery
- Bootstrap
- Parsedown
- p
- Codebird-PHP
- AJAXload
- Config Class
- The guy on StackOverflow who gave me the query string.