Closed raxan closed 9 years ago
Hi Raxan!
Thanks for your kind words!
If phalcon 1.3.x will be ported in 100%, our libs should work with Phalcon 2.0 quite fine. We currently testing this and waiting for first stable 2.0 release.
We want to rewrite Vegas CMF to Zephir and we already included this task to our roadmap for year 2015.
Thanks for using our libraries and good luck!
Cheers, Vegas Team
Wow... eveything you said sound very good.
I was able to setup project with success !
hi,
seem it's missing some comand for create database table.
Last thing which you said is on getting started http://vegas-cmf.github.io/1.0/getting-started.html:
Run your project in your browser http://vegas-test.local
I get below warning when try create a user using
php cli/cli.php app:user:user create -e=user@vegasdemo.com -p=p@$$w0rD -n="Vegas User"
Please create a MySQL table using the following code
CREATE TABLE IF NOT EXISTS `vegas_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(100) NOT NULL,
`password` varchar(200) NOT NULL,
`name` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Right now we do not have a migration tool to prepare database...
After that you can create new user as follow:
php cli/cli.php app:user:user create -e=user@vegasdemo.com -p=password -n="Vegas User"
( p@$$w0rD will not work correctly in the Linux command line because of $$ )
Thanks!
Its missing Primary Key, otherwise go in error, correct:
CREATE TABLE IF NOT EXISTS `vegas_users` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`email` varchar(100) NOT NULL,
`password` varchar(200) NOT NULL,
`name` varchar(50) NOT NULL,
PRIMARY KEY (id)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
I know about $, I don't use that email and that password, but mine.
A question...
during installation I choice mysql, and app/config/config.php have
'db' => array(
'adapter' => 'Mysql',
//see app/services/DbServiceProvider.php to get more information how to setup database details
),
Where I should put my database credential like host, database name, password and user?
thanks !
ah ! I got it !
Ah yes you are right, sorry
Use this to setup MySQL:
'db' => array(
"host" => "localhost",
"dbname" => "vegas_test",
"port" => 3306,
"username" => "root",
'password'=> 'root',
"options" => array(
PDO::MYSQL_ATTR_INIT_COMMAND => 'SET NAMES utf8'
)
)
Work like a charm now ! Thanks !
Hi
First of all congrats for this awesome project. It's exactly what I was looking for.
I have a questions about support with future release of phalcon 2.0
Can I code with current version and easy upgrade in future to phalcon 2.0?
Do you think re-code this libs in Zephir?
Thanks