Start here to build install Pushkin and its dependencies on Ubuntu Linux.
These instructions were created using Ubuntu 18.04 and the apt package manager. They should generalize to other Linux distributions and package managers, however.
First, ensure that you have curl installed, as this will be necessary to download Node.js. If it isn't installed, you can install it using the following commands:
sudoaptupdatesudoaptinstallcurl
Install Node.js
To install Node.js, first run the following command to install nvm:
Then use nvm to install Node.js:
In case the preferred version of Node.js is changed, use the following commands to update:
Install and configure Yarn
You will next want to install the Yarn package manager. Official instructions (copied below for convenience) are available here.
Use npm, which comes bundled with Node.js that you just installed:
Use the following command to set up the repository:
Next, update the apt package index:
Install Docker Engine, containerd, and Docker Compose:
Check that Docker Engine is installed correctly by running:
If Docker Engine and Docker Compose are installed correctly, this should generate some output, including:
Next, follow these post-installation instructions (copied below for convenience) to manage Docker as a non-root user. (You can ignore the rest of the post-installation instructions.)
Next steps
Great! You're all done. Head over here to build a basic Pushkin site and experiment.