A plain game news site designed from sratch. Get thing done without framework
news | database admin |
---|---|
- php
- php extension - pdo sqlite
- Locate the php.ini file in the root directory of your PHP installation. This file controls various configuration options for PHP.
- Open the php.ini file in a text editor.
- Search for the line extension=pdo_sqlite. This line may be commented out with a semicolon at the beginning of the line, like this:
;extension=pdo_sqlite
. - Remove the semicolon at the beginning of the line to uncomment it, like this:
extension=pdo_sqlite
. - Save the php.ini file and close the text editor.
- Open a terminal and navigate to the root directory of the project
- Run the command
php -S localhost:8000
to start the web server
This will start the app and make it available at https://localhost:8000 in your web browser.
- Home Page with carousel and weekly update table
- About Page with gamestation photo and sample text
- News Page with the list of new articles
- Admin System with webeditor and etc...
- start the site listenning to 5000 web port and 2000 mysql port
$ docker run --name gstation -dit -e MYSQL_ROOT_PWD=hou -e MYSQL_USER=hou -e MYSQL_USER_PWD=hou -e MYSQL_USER_DB=gamestation -p 5000:80 -p 2000:3306 chunhou5741/gamestation
- restore database otherwise the site cannot initialize without data
$ docker exec -it gstation run.sh restore gamestation
Gamestation is licensed under Creative Common license. user are able to use, share and build upon the work.