Files
directus/docs/guides/installation/manual.md
Rijk van Zanten 817ccf3620 Overhaul docs (#3951)
* Add Quickstart Guide

* Update installation

* Remove unused files

* Update support/backing

* Tweaks in concepts

* Setup file structure for API reference 2.0

* Setup page layout for reference

* Add clean-urls plugin

* getting started updates

* Finish authentication rest

* getting started updates

* Render stylus in 2 spaces

* Various

* Various

* Finish activity docs

* Add collections reference

* Add extension reference

* concepts updates

* Fields/tweaks

* Add files doc

* Add revisions

* concepts docs

* More api reference

* Finish rest api reference (finally)

* initial concepts

* More things

* Add assets api ref

* Move sections from file to assets

* Add environment variables

* contributing docs

* Add field transforms page

* Left align table headers

* concept links

* Add API config

* Fix mobile nav

* Add migrating a project

* doc link fixes

Co-authored-by: Ben Haynes <ben@rngr.org>
2021-02-05 18:51:54 -05: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.