Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
simple-mvc
simple-mvc
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
    • Iterations
  • Merge Requests 0
    • Merge Requests 0
  • Requirements
    • Requirements
    • List
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Code Review
    • Insights
    • Issue
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Heiko Mettelsiefen
  • simple-mvcsimple-mvc
  • Wiki
  • getting started

Last edited by Heiko Mettelsiefen Apr 14, 2019
Page history

getting started

quickstart

$ git clone https://gitlab.com/mascoda/simple-mvc.git
$ mv simple-mvc/* .
$ composer dumpautoload -o

you can jump forward to manifest

with explanation

clone the repository from gitlab

$ git clone https://gitlab.com/mascoda/simple-mvc.git

or download the zip and unzip on you server. You will find a simple-mvc directory, you can move the files one folder up with

$ mv simple-mvc/* .

change the root directory

If you use you root directory for the application, then you can skip this. Antoherwise open the .htaccess file an edit the follow line. Replace {app_directory} with the path to simple-mvc root.

# set your rewrite base
# Edit this in your init method too if you script lives in a subfolder
RewriteBase /{app_directory}

Go to you root directory and update Composer autoloader, like this

$ composer dumpautoload -o

Open url in browser or localhost.If you see the index.view.php is everything well.

Next Step: understand manifest

Clone repository
  • Installation
  • Features
  • Ajax