atlantis.json
files.
The atlantis.json
files define the filesystem structure the application depends on and this utility can check for inconsistencies and try to fix them.
This is used both for project initialisation and future sanity checking.
$ project.atl init
$ project.atl db
Default
database connection.$ project.atl --set --type=... --host=... --user=... --pass=... --db=...
mysql
, sqlite
. Technically it supports anything PDO supports, but most of the queries are written with MySQL/MariaDB features in mind.$ project.atl --set=... --type=... --host=... --user=... --pass=... --db=...
set
should be the alias used to fetch the connection from the DB manager.Dirs
section manages a set of paths to create as directories.$ project.atl dirs --fix
$ project.atl dirs --add --path=...
temp
")$ project.atl dirs --del --path=...
Symlinks
section manages a set of paths to create as symlinks to other files.$ project.atl symlinks --fix
$ project.atl symlinks --add --path=... --source=...
temp
")$ project.atl symlinks --del --path=...
Perms
section manages a set of paths to reinforce chmod modes for.$ project.atl perms
$ project.atl perms --add --path=... --mode=...
temp
")chmod()
expects.0o
notation. (Ex: "0o777
")$ project.atl perms --del --path=...
$ project.atl setup