[FLOW3-general] How to create tables ?

Regine Rosewich regine.rosewich at hoellenberg.biz
Mon Mar 21 11:14:14 CET 2011


Hi Dawid,

I did the following to get the blog-example running.

1. get the last release of FLOW (alpha14). 
2. replace the Package sources of the packages: FLOW3, Fluid, kickstart,
Party, Blog(FLOW3/Packages/Blog not FLOW3/Applications/Blog) with the
according sources of git.typo3.org.
3. Check whether the file PackageSetup.yaml includes the blog example ==>
(Blog: state: active).
4. set up a new apache virtual host (e.g. dev.flow3.local) pointing to the
/Web folder of the FLOW3 installation.
5. create an empty database in MySql
6. adapt the Settings.yaml to the new databse as Sebastian described it.
7. start the new web-site (e.g. http://dev.flow3.local).

After some seconds the Welcome Page of the FLOW3 Installation comes up. If
so everything has been 'compiled' and the database tables have been
generated.
Then you can start the blog-example with e. g.
http://dev.flow3.local/blog/posts 

Hope, it helps.

Regine.

-----Ursprüngliche Nachricht-----
Von: flow3-general-bounces at lists.typo3.org
[mailto:flow3-general-bounces at lists.typo3.org] Im Auftrag von Dawid
Pacholczyk
Gesendet: Montag, 21. März 2011 10:33
An: flow3-general at lists.typo3.org
Betreff: Re: [FLOW3-general] How to create tables ?

A lot of self happening magick. I`m not used to that :)

To be sure...first compile is a first run of application ?

Best regards,
Dawid Pacholczyk

W dniu 2011-03-21 10:05, Regine Rosewich pisze:
> Hi list(eners),
>
> I can acknowledge what Sebastian wrote. With an absolute 'virgin' system
> consisting of FLOW3, Blog-Example, Party ... and an empty MySql-Database,
> everything is done by FLOW3 during the first compile. The tables are
> generated by the Doctrine2 Persistence and so on. My other
test-installation
> was not 'virgin'. It still had the 'old-fashion' database and obviously
some
> other debris of the the pre-Doctrine2 Blog-Example. There I always get an
> error saying that the 'blog-Table' is missing in the database.
>
> Greetings from the spring in southern Germany.
>
> Regine
>
> -----Ursprüngliche Nachricht-----
> Von: flow3-general-bounces at lists.typo3.org
> [mailto:flow3-general-bounces at lists.typo3.org] Im Auftrag von Dawid
> Pacholczyk
> Gesendet: Montag, 21. März 2011 09:12
> An: flow3-general at lists.typo3.org
> Betreff: Re: [FLOW3-general] How to create tables ?
>
> W dniu 2011-03-21 06:16, Sebastian Kurfürst pisze:
>> Hey,
>>
>> if you want to use Doctrine from current Master, use the following
> Settings:
>>
>> FLOW3:
>>     persistence:
>>       backendOptions:
>>         driver: 'pdo_mysql'
>>         dbname: 'v5_blog' # fill in
>>         user: 'root' # fill in
>>         password: 'root' # fill in
>>         host: '127.0.0.1' # fill in
>>         port: 3306 # can be skipped in some cases
>>
>> Then doctrine creates all DB tables for the models.
>>
>> Greets,
>> Sebastian
>
> Thanks for the answer.
>
> What I need to invoke to tell Doctrine to create tables ? Cause
> kickstart creates just a file, than I need to create fields etc. Where
> is the magick ? :)
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
>
>

_______________________________________________
FLOW3-general mailing list
FLOW3-general at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general




More information about the FLOW3-general mailing list