Giter Site home page Giter Site logo

dallemon / agcms Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ajenbo/agcms

0.0 0.0 0.0 18.97 MB

A simple battle proven CMS with a Laravel like code base

License: GNU General Public License v2.0

Shell 0.26% JavaScript 13.24% PHP 59.42% CSS 5.52% HTML 21.46% Dockerfile 0.09%

agcms's Introduction

AGcms

Test Codacy Badge Maintainability codebeat badge codecov

AGcms is a simple CMS that I built around 2004, since it still has active users, I try to maintain the code base and use it to experiment with differnet tools. The maintenance mostly revolve around keeping the backend in decent shape, code wise.

Development setup

PHP

The PHP source is found in application/inc It's structured to be similar to Laravel

JavaScript

The JavaScript source is found in source/javascript It's transpiled using webpack, meaning you can write ES6 and having it still work on older browsers that only support ES5

Prerequisites

It's recommended to follow the install guides for each prerequisite linked above build.sh also depends on wget and unzip

Install dependencies

Executing build.sh will install the project dependencies, except for php development dependencies

Install development dependencies

Run the following three commands if you would like to install all dependencies

./build.sh
cd application
composer install

Running the project

The project comes with a docker-compose.yml that will run an nginx server on port 80 and MySQL on 3306 by default To start it simply run:

docker compose up -d

If you want to setup a server manually you need to point it to the application folder, you will find the needed sql files for the database in the source folder.

Running tests

You can run the PHP unit tests via the following command from the project root

php application/vendor/bin/phpunit

Preparing a release

Run the build.sh script Upload the content of the application folder to your webserver

Security Vulnerabilities

If you discover a security vulnerability within AGcms, please create an issue on github All security vulnerabilities will be promptly addressed

License

AGcms is open-sourced software licensed under the GPL-2.0 license As such you are free to base your site on it If you decide to do so I would love to hear about it :)

agcms's People

Contributors

ajenbo avatar dallemon avatar dependabot[bot] avatar jensjuulnielsen avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.