Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jeyemwey/bahnplan
Place to share my travel plans.
https://github.com/jeyemwey/bahnplan
gmaps php travel-plans twitter
Last synced: 25 days ago
JSON representation
Place to share my travel plans.
- Host: GitHub
- URL: https://github.com/jeyemwey/bahnplan
- Owner: jeyemwey
- License: gpl-2.0
- Created: 2015-03-14T18:07:15.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-05-02T20:26:02.000Z (over 8 years ago)
- Last Synced: 2023-02-28T18:36:53.583Z (over 1 year ago)
- Topics: gmaps, php, travel-plans, twitter
- Language: PHP
- Size: 723 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#bahnplan
Place to share my travel plans.
## Set up
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](https://apps.twitter.com/). You'll have to do the following steps:
1. Create an app (name it whatever you want).
2. Change the __Access Level__ to "Read and write".
3. Create yourself an Access Token in the "*Keys and Access Tokens*"-tab. You will find that button on the bottom of the page.
4. 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.
## Access
You can access *admin/* with credentials: `jannik` : `123456`. You may want to change these things in the database.
## Makes use of:
* scss
* font-awesome
* Google Maps API 3
* jquery
* Bootstrap
* Parsedown
* [p](https://gist.github.com/jeyemwey/08aaf0d57fbd67c5a798)
* Codebird-PHP
* [AJAXload](http://www.ajaxload.info/)
* [Config Class](https://www.youtube.com/watch?v=qyKt4NF_82g)## Thanks to
* The guy on [StackOverflow](http://stackoverflow.com/questions/29059090/table-inside-of-another) who gave me the query string.
## Me on Twitter
[@confuzd_](https://twitter.com/confuzd_)