mkdir -p the api/ and database/ directories before copying files since EC2 only has server.js at the project root. Run migrate.js from project root so dotenv picks up the .env file correctly.
11 KiB
11 KiB