Files
directus/docs/configuration/installation/manual.md
Ben Haynes 1b87e4555f Docs structure (#9071)
* WIP

* updates

* docs updates

* structure

* big structure update

* docs module icon change

* in-app docs nav

* more content and structure changes

* Remove redundant

* Fix docs build in app

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-25 21:19:23 -04:00

1.1 KiB

Installing Manually

::: tip Automation

We've created a little CLI tool you can run that does this process automatically. For more info, check the doc on installing through the CLI.

:::

1. Setup a Project Folder

Create a new directory, and add a package.json by running the following command.

npm init -y

We recommend aliasing the start script to Directus' start for easier deployments to services like AWS or DigitalOcean App Platform.

{
	...
	"scripts": {
		"start": "directus start"
	}
	...
}

2. Install Directus

npm install directus

3. Setup a Configuration File

Finally, you'll need to setup your .env file, or configure the environment variables through other means, such as Docker, etc.

You can use a copy of the example.env file as a starting point.

See Environment Variables for all available variables.