-
Notifications
You must be signed in to change notification settings - Fork 315
Installation without Docker
pawelmalak edited this page Nov 14, 2021
·
2 revisions
- git
- Node.js >= v14.0.0
git clone https://github.com/pawelmalak/flame
cd flame
# installing dependencies (it might take some time)
npm run dev-initcd client
npm run buildThen create data and public directories in the project root directory. Move all content of client/build to the public directory.
Edit .env file in the root directory
NODE_ENV=production
PASSWORD=your_passwordStart Flame with:
node server.jsWait till server starts. You should get following logs in the terminal:
[2021-11-14 23:36:40.389 UTC+0] [INFO] Connected to database
[2021-11-14 23:36:40.585 UTC+0] [INFO] Executing pending migrations
[2021-11-14 23:36:41.284 UTC+0] [INFO] Socket: listen
[2021-11-14 23:36:41.288 UTC+0] [INFO] Server is running on port 5005 in production modeFlame is now running. Visit it at localhost:5005