klaswarna/ramverk1-proj

Grammatikgrottan - a stackoverflow-like page. An examination project for ramverk1 course.

6.0.3 2019-01-15 17:49 UTC

This package is auto-updated.

Last update: 2024-06-16 06:08:14 UTC


README

Installing ramverk1-proj

Build Status Scrutinizer Code Quality

Create an empty folder in which you want to put the website.

Make that folder your working directory.

Install Anax Ramverk1-me by Mr Roos by typing


anax create site ramverk1-me-v2

Then install the content from grammatikgrottan-website by typing


cd site

composer require klaswarna/ramverk1-proj

Replace the original webcontent typing:


cp -r -T vendor/klaswarna/ramverk1-proj/config config

cp -r -T vendor/klaswarna/ramverk1-proj/content content

cp -r -T vendor/klaswarna/ramverk1-proj/htdocs htdocs

cp -r -T vendor/klaswarna/ramverk1-proj/src src

cp -r -T vendor/klaswarna/ramverk1-proj/test test

cp -r -T vendor/klaswarna/ramverk1-proj/view view

cp -r -T vendor/klaswarna/ramverk1-proj/sql sql

Add "KW": "src/" to autoload, prs-4 in the file site/composer.json

Now point your browser to [your folder]/site/htdocs and the web site will appear.

To make it work properly, a a local php-server and database must be available. The databas can be set up by the files setup.sql, ddl.sql, insert.sql in the sql folder.