Fork is an open source CMS.
Clone or download
Pull request Compare This branch is 122 commits ahead, 15 commits behind forkcms:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
app
bin
css/vendors
docs
fonts/vendors
images/vendors/fancybox
js/vendors
src
tests
var/docker
.dockerignore
.editorconfig
.env.dist
.gitattributes
.gitignore
.gitlab-ci.yml
.htaccess
.travis.yml
CHANGELOG.md
CONTRIBUTING.md
Capfile
Dockerfile
Gemfile
Gemfile.lock
LICENSE.md
README.md
UPGRADE_3.6.md
UPGRADE_3.7.md
UPGRADE_3.8.md
UPGRADE_3.9.md
UPGRADE_4.0.md
UPGRADE_5.0.md
VERSION.md
apple-touch-icon.png
autoload.php
composer.json
composer.lock
docker-compose.yml
favicon.ico
gulpfile.js
humans.txt
index.php
package-lock.json
package.json
phpunit.xml.dist
robots.txt
tile.png
webpack.config.js

README.md

Fork CMS

Build Status Latest Stable Version License Code Coverage Slack Status Documentation Status

Installation

  1. Make sure you have composer installed.
  2. Run composer create-project forkcms/forkcms . in your document root.
  3. Browse to your website
  4. Follow the steps on-screen
  5. Have fun!

Dependencies

Remark: If you are using GIT instead of composer create-project or the zip-file from http://www.fork-cms.com, you should install our dependencies. The dependencies are handled by composer

To install the dependencies, you can run the command below in the document-root:

composer install -o

Security

If you discover any security related issues, please email core@fork-cms.com instead of using the issue tracker.

SSL

If you want to activate https redirection, go into the .htaccess file and uncomment the lines about https.

Bugs

If you encounter any bugs, please create an issue on Github. If you're stuck or would like to discuss Fork CMS, talk to us on slack!

Running the tests

We use phpunit as a test framework. It's installed when using composer install. To be able to run them, make sure you have a database with the same credentials as your normal database and with the name suffixed with _test.

Because we support multiple php versions it gave some issues. Therefore we use the bridge from symfony.

Running the tests:

composer test

Running only the unit tests or the functional tests

 composer test -- --testsuite=functional
 composer test -- --testsuite=unit

Styling the backend

The backend uses Bootstrap in combination with Sass. To make changes, you should make the changes into the scss-files, and regenerate the real css with gulp build.

Yarn

We use yarn to install our dependencies. For now we have a gulp-script that moves everything to the correct directories. So if you change the dependencies, make sure you run gulp build.

Discussion

The Fork CMS team