mirror of
https://github.com/CartoDB/crankshaft.git
synced 2024-11-01 10:20:48 +08:00
1ce0a206c7
So we have single entry points to install/check everything
823 B
823 B
Workflow
... (branching/merging flow)
Deployment
...
Deployment to db servers: the next command will install both the Python package and the extension.
sudo make install
Installing only the Python package:
sudo pip install python/crankshaft --upgrade
Caveat: note that pip install ./crankshaft
will install
from local files, but pip install crankshaft
will not.
CI: Install and run the tests on the installed extension and package:
(sudo make install && PGUSER=postgres make testinstalled)
Installing the extension in user databases: Once installed in a server, the extension can be added to a database with the next SQL command:
CREATE EXTENSION crankshaft;
To upgrade the extension to an specific version X.Y.Z:
ALTER EXTENSION crankshaft UPGRADE TO 'X.Y.Z';