Forums

Unfortunately no one can be told what FluxBB is - you have to see it for yourself.

You are not logged in.

#76 2014-07-07 19:29:35

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

I'm saying the admin panel will not be customizable in 2.0.0. We might add it later, but I don't really see why it's important, so it does not have a very high priority for me.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#77 2014-07-07 23:12:00

joel
Member
Registered: 2014-07-04
Posts: 399

Re: 2.0-dev installation instructions

ok


Warning! be informed and be forewarned. <p>
<?php
I'm not a native English Man. So my comments might contain some grammatical explosive (ELD), missapropreation of words (dinamyt), The use of wrong words (missiles), & mis spelling of words (war drones). Any of the occurrence can cause havoc. So be warned
?>

Offline

#78 2014-08-11 20:05:27

bgies
New member
Registered: 2014-08-11
Posts: 1

Re: 2.0-dev installation instructions

Any chance we could get clear directions for installing all in one place? Maybe take everything here and consolidate in a new thread and make it sticky?

I just tried installing using the packages on packalyst.com: packalyst.com/packages/package/fluxbb/core and packagist.org/packages/fluxbb/installer.... Unfortunately, not much joy at this point.

Here's what I've done so far...

added both packages to require

"require" : {
        "laravel/framework" : "4.2.*",
        "twitter/bootstrap" : "3.2.0",
        "cartalyst/sentry" : "2.1.*",
        "mcamara/laravel-localization" : "0.14.*",
        "vespakoen/menu" : "2.0.15",
        "nesbot/Carbon" : "*",
        "rtconner/laravel-tagging" : "dev-master",
        "jenssegers/date" : "*",
        "ckeditor/ckeditor": "dev-stable",
        "fluxbb/core": "dev-master",
        "fluxbb/installer": "dev-master"

ran

composer update

Everything downloaded fine, and I then published the assets for both packages using:

php artisan asset:publish "fluxbb/core"
php artisan asset:publish "fluxbb/installer"

FYI.. I tried to use the installer without publishing the assets first, and just nothing worked.... you should add that step to the documentation... Doesn't work without the Javascript published smile.

Added the service providers in /app/config/app.php to the providers array

'FluxBB\Core\CoreServiceProvider',
        'FluxBB\Installer\Providers\RouteServiceProvider'

NOTE.. also added this one later when nothing worked:

'FluxBB\Server\ServiceProvider',

Didn't really find much in the way of instructions to use the installer, or even what it does, but eventually read through enough of the code to figure it out... Spent quite a while trying to use it, before figuring out it needed the assets published to work at all. Then had problems because I didn't fill in all the database information (thinking the watermarks would be used as a default if I just left them alone).

Long story a little shorter, the installation seems to have created everything it should have, but at the end I got an error when it tried to show me the success page. Route [admin] not defined. (View: /home/vagrant/Code/eetools/vendor/fluxbb/installer/views/success.blade.php)

Not too worried about that error, because it was on the success page, and only on generating the link to the admin view. BUT... should it have created a route? What should the route be? A named route would seem to be the best (fluxbb.admin)... just admin is used by all kinds of other things.

So.. what do I need to do now to actually get to the admin page, and start testing and creating things?

FYI... I'm willing to try to fix some of the problems or update documentation as I find flaws? What is the state of the packages? Should they mostly work now?

Thanks for any help... hope I can return the favor.

Last edited by bgies (2014-08-23 15:34:39)

Offline

#79 2014-08-21 12:40:32

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

First of all, sorry for the late reply, I was on vacation.

You're installing this in a fresh Laravel skeleton, right? You may also take the one provided on https://github.com/fluxbb/fluxbb in the "2.0" branch. I think you're missing one more service provider. This is what your list of FluxBB-specific ones should look like:

    'FluxBB\Core\CoreServiceProvider',
    'FluxBB\Server\ServiceProvider',
    'FluxBB\Web\ServiceProvider',
    'FluxBB\Installer\Providers\RouteServiceProvider',

I'll update the README once I get back from my next vacation. You're right, this should be clearly documented somewhere. (I'll also write a sticky topic.)

Of course, installing the final version will be much simpler, I think the complexity of using Composer and a bit of command line is okay for development versions.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#80 2014-10-28 10:06:16

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 728
Website

Re: 2.0-dev installation instructions

Hi there,

I tried to install FluxBB 2.0 dev but I'm a total rookie with frameworks.

So I've run

git clone git://github.com/fluxbb/fluxbb.git
cd fluxbb
git checkout 2.0
curl -s https://getcomposer.org/installer | php
php composer.phar install

with success, but I'm unable to do

php artisan publish:assets fluxbb/core
php artisan publish:assets fluxbb/installer

I'm getting "could not open input file artisan". I run this code from where I've downloaded the repo. Any thoughts?

Edit: this is what my current folder looks like

oPxje8HRkk.png

Last edited by adaur (2014-10-28 10:10:22)


Please excuse my bad english, I'm french tongue.

Offline

#81 2014-10-28 10:14:53

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

Oh yeah, I very recently removed Artisan. I'll update the instructions later today...

You should be more or less good to go, by the way. But you won't have any CSS loaded at this point (until the assets are published).


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#82 2014-10-28 10:20:22

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 728
Website

Re: 2.0-dev installation instructions

Thanks, no problem for that.

I'm not so sure it's good to go, since /public/install redirects me from localhost/flux2/public/install/ to http://localhost/install (404 not found), http://localhost/flux2/install/ gives me

Fatal error: Uncaught exception 'Exception' with message '404 Not Found' in C:\wamp\www\flux2\vendor\fluxbb\core\src\FluxBB\Web\Router.php:113 Stack trace: #0 C:\wamp\www\flux2\vendor\fluxbb\core\src\FluxBB\Web\Dispatcher.php(74): FluxBB\Web\Router->getCallable('GET', '/install/') #1 C:\wamp\www\flux2\vendor\fluxbb\core\src\FluxBB\Web\Dispatcher.php(38): FluxBB\Web\Dispatcher->getCallable(Object(Symfony\Component\HttpFoundation\Request)) #2 C:\wamp\www\flux2\index.php(22): FluxBB\Web\Dispatcher->handle(Object(Symfony\Component\HttpFoundation\Request)) #3 {main} thrown in C:\wamp\www\flux2\vendor\fluxbb\core\src\FluxBB\Web\Router.php on line 113

and the main folder

Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Database [fluxbb] not configured.' in C:\wamp\www\flux2\vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php:248 Stack trace: #0 C:\wamp\www\flux2\vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php(156): Illuminate\Database\DatabaseManager->getConfig('fluxbb') #1 C:\wamp\www\flux2\vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php(64): Illuminate\Database\DatabaseManager->makeConnection('fluxbb') #2 C:\wamp\www\flux2\vendor\fluxbb\core\src\FluxBB\Core\CoreServiceProvider.php(68): Illuminate\Database\DatabaseManager->connection('fluxbb') #3 C:\wamp\www\flux2\vendor\laravel\framework\src\Illuminate\Container\Container.php(744): FluxBB\Core\CoreServiceProvider->FluxBB\Core\{closure}(Object(Illuminate\Foundation\Application), Array) #4 C:\wamp\www\flux2\vendor\laravel\framework\src\Illuminate\Container\Container.php(652): Illuminate\Container\Container->build(Object(Closure), Array) #5 C:\wamp\www\flux2 in C:\wamp\www\flux2\vendor\laravel\framework\src\Illuminate\Database\DatabaseManager.php on line 248

I'll just wait a bit wink


Please excuse my bad english, I'm french tongue.

Offline

#83 2014-10-28 10:24:23

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

Ah, that, yeah, it currently won't work very well when installed in a subfolder. Oh... so much to improve. smile


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#84 2014-10-28 14:20:51

sdousley
Member
Registered: 2014-07-14
Posts: 11

Re: 2.0-dev installation instructions

Hey, I'm trying to install this into an existing site that I have, that runs Laravel 4.2.

I added fluxbb/core and fluxbb/installer to composer.json, but these just fail as they seem to require Illuminate ~5.0.

I'm really keen to get on with integrating Fluxbb2 into this site as it's not (yet) live, and I love the FluxBB Auth plugin (which I guess will need to be rewritten for FluxBB2?

How can I get this integrated with my existing laravel site?

Steve

Offline

#85 2014-10-28 14:23:56

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

Well, I decided to just depend on Laravel 5, as that will be released before FluxBB 2.0 is finished. Will you consider upgrading to L5 once it's out? (Upgrading won't be as hard as some seem to think.)


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#86 2014-10-28 15:10:14

sdousley
Member
Registered: 2014-07-14
Posts: 11

Re: 2.0-dev installation instructions

As long as it doesn't break anything majorly, I'm happy to upgrade to L5.  I'm not doing anything majorly complex in laravel that I think might cause any issues.

I also have local development copies etc anyway, so can always break them and revert them back lol.

Is Laravel 5 installable at present? I guess it's also a case of whether or not all the other packages I use work with 5 or not.

Offline

#87 2014-10-28 15:11:31

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

Right now Taylor is breaking things almost daily, but the dust should settle soon-ish.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#88 2014-10-28 15:14:15

sdousley
Member
Registered: 2014-07-14
Posts: 11

Re: 2.0-dev installation instructions

Ah, ok, so not worth trying it out as yet!

I know FluxBB2 is still technically alpha, but I will be using it only with friends online mostly.  Would you say it's kinda there (or at least will be on release) to be used in production like this?

Main reason that I was asking is that I would like to get at least the main site live within the next few weeks.  But if Neither Laravel 5 or FluxBB are likely to be out within this period (or a bit longer, I'm not strict on release times!)  I think I will just go with what I have and the theme for FluxBB 1.5 that I already have.

Offline

#89 2014-10-28 15:15:34

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

Laravel 5 will probably be out very soon, FluxBB 2.0 at least not within weeks wink

I'm planning to get it into beta state (which seems to be what you want) within the next months, though.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#90 2014-10-28 15:16:54

sdousley
Member
Registered: 2014-07-14
Posts: 11

Re: 2.0-dev installation instructions

OK, that's cool. Looking forward to it.  Hopefully the migration process from 1.5 -> 2 will not be *tooooo* complex.  Though I do understand that with a rewrite of this magnitude, it might not be possible/easy.

Offline

#91 2014-10-28 15:19:55

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

The import of data will be as simple as possible.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#92 2014-10-29 20:37:22

adaur
Developer
From: France
Registered: 2010-01-07
Posts: 728
Website

Re: 2.0-dev installation instructions

I'm getting the same errors using a virtual host hmm


Please excuse my bad english, I'm french tongue.

Offline

#93 2014-10-29 21:00:39

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

Ah, public was removed a couple days ago. Visit index.php in the root directory.

The installer is not quite working yet, though. Try the console installer for now - "php fluxbb install".


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

#94 2014-11-05 16:18:24

Franz
Lead developer
From: Germany
Registered: 2008-05-13
Posts: 5,928
Website

Re: 2.0-dev installation instructions

You can now find up-to-date instructions (and discussion) in this thread.


fluxbb.de | develoPHP

"As code is more often read than written it's really important to write clean code."

Offline

Board footer

Powered by FluxBB 1.5.7