Skip to content

sallahbaksh/edrepo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

edrepo

How to spin up a new container

  1. Go here http://gitpod.io/#https://github.com/sallahbaksh/edrepo/

  2. Go to terminal. Enter mysql to enter the mysql shell.

  3. Run these SQL commands in order (1 at a time): (Try running without the SOURCE command, it drops the DB)

CREATE DATABASE edrepo;
USE edrepo;
CREATE USER 'edrepo'@'localhost' IDENTIFIED BY 'edrepo';
SOURCE /workspace/edrepo/lib/backends/pdo/mysql.sql;
GRANT ALL PRIVILEGES ON edrepo.* TO 'edrepo'@'localhost';
  1. In another terminal, enter:

cd EdRepo

php -S 127.0.0.1:8000

to serve the contents.

  1. Click on Open browser or Open preview, the website should popup (make sure you enable popups).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published