Code Monkey home page Code Monkey logo

sulu-standard's Introduction

Sulu Selenium Test Status

Usage

At the moment there is only one functional route.

sulu.lo/admin/

Installation

Clone this repository

git clone [email protected]:sulu-cmf/sulu-standard.git
cd sulu-standard

Checkout the develop-branch

git checkout develop

Install all the dependencies with composer

composer install

Answer the following questions to meet the installation of your system. Just use the standard value for the jms_serializer.cache_naming_strategy.class.

Clear the caches and set the appropriate permissions

Mac OSX
rm -rf app/admin/cache/*
rm -rf app/admin/logs/*
rm -rf app/website/cache/*
rm -rf app/website/logs/*
APACHEUSER=`ps aux | grep -E '[a]pache|[h]ttpd' | grep -v root | head -1 | cut -d\  -f1`
sudo chmod +a "$APACHEUSER allow delete,write,append,file_inherit,directory_inherit" app/admin/cache app/admin/logs app/website/cache app/website/logs
sudo chmod +a "`whoami` allow delete,write,append,file_inherit,directory_inherit" app/admin/cache app/admin/logs app/website/cache app/website/logs
Ubuntu
rm -rf app/admin/cache/*
rm -rf app/admin/logs/*
rm -rf app/website/cache/*
rm -rf app/website/logs/*
sudo setfacl -R -m u:www-data:rwx -m u:`whoami`:rwx app/admin/cache app/admin/logs app/website/cache app/website/logs
sudo setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/admin/cache app/admin/logs app/website/cache app/website/logs

Create database and schema

app/console doctrine:database:create
app/console doctrine:schema:create

Load database default values

app/console doctrine:fixtures:load

Answer the upcoming question with Y, to purge the entire database.

Download and install Jackrabbit

Download the jar file into a Folder of your choice.

wget http://archive.apache.org/dist/jackrabbit/2.6.3/jackrabbit-standalone-2.6.3.jar
java -jar jackrabbit-standalone-2.6.3.jar

Init Content Repository

app/console sulu:phpcr:init

Insert a new user

app/console sulu:security:user:create

Follow the instruction to create a new user

Configuration

Sulu requires an installation of an apache webserver with PHP (>=5.4) and a mysql database.

Use the following template for your vhost-configuration

<VirtualHost *:80>
    DocumentRoot "[path-to-your-workspace]/sulu-standard/web"
    ServerName sulu.lo
    <Directory "[path-to-your-workspace]/sulu-standard/web">
        Options Indexes FollowSymlinks
        AllowOverride All
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>

Of course you also have to make sure that your webserver user has permission to access your installation folder. Don't forget to include sulu.lo in your hosts-file, if you want to use Sulu on a local machine.

sulu-standard's People

Contributors

c00n84 avatar chirimoya avatar danrot avatar turbo-ele avatar wachterjohannes avatar

Watchers

 avatar  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.