Skip to content

Tanvir-Sadi/ask-world

Repository files navigation

Ask World

A website for asking question and find answer from the community.

Installation

Clone Website from github

git clone https://github.com/Tanvir-Sadi/askWorld.git

Install all the composer packages

composer install
composer dump-autoload

Next copy .env.example to .env and .htaccess.example to .htaccess update .env file if necessary. Genarate VAPID KEY for web push functionality. Learn More Make sure you update your public vapid key also in script.js

document.addEventListener('DOMContentLoaded', () => {
    const applicationServerKey =
        'BNM_Z-BptwxKRu0KWtZ6OT0anYfHJHVMPLKlCV0NWvY8uv400LL2z1HUqABCwL0lfL17E75zL4LFFhGomTKlank';

Create Database from php my admin sql query.

CREATE DATABASE ask_world;

Import Table using database.sql files from this project directory. After that you will see all the table created successfully.

image

Run Webserver and Enjoy!

php -S localhost:4242 --docroot=public

Populate Database with dummy data

Import populate_db.sql files from this project directory. Successfully doing so you will see that you will see

image

Login with following credential.

About

A Question Answering website for Developers Developed using own Framework

Topics

Resources

Stars

Watchers

Forks

Contributors