2 years ago
Description: A popular self-hosted "headless" CMS
Category: CMS
5 Replies
2 years ago
Hi, would you mind upgrading to 5.1.0, this version is unstable and crashes for me
2 years ago
how to switch Strapi to development mode?
2 years ago
Developing locally
When developing locally this Strapi template will connect to the Postgres server from its public TCP Proxy
- Enable the feature flag
Template Service Ejectin the Feature Flags menu - Within the service settings of the Strapi service click the
Ejectbutton on the upstream repository - Clone that newly created repository locally from your github
- Install Strapi's dependencies with
yarn install - Install the Railway CLI
- Instructions for that can be found here
- If this is your first time using the CLI make sure to login with
railway login
- Within the local repository run
railway linkto link the local repository to the Strapi service on Railway - Start Strapi for development with
railway run yarn run develop- This command will run Strapi in development mode with the service variables available locally
- Open your browser to
http://127.0.0.1:1337/admin
szilardkoppel
### Developing locally When developing locally this Strapi template will connect to the Postgres server from its public [TCP Proxy](https://docs.railway.app/deploy/exposing-your-app#tcp-proxying) * Enable the feature flag `Template Service Eject` in the [Feature Flags](https://railway.app/account/feature-flags) menu * Within the service settings of the Strapi service click the `Eject` button on the upstream repository * Clone that newly created repository locally from your github * Install Strapi's dependencies with `yarn install` * Install the Railway CLI * Instructions for that can be found [here](https://docs.railway.app/develop/cli#installation) * If this is your first time using the CLI make sure to login with `railway login` * Within the local repository run `railway link` to link the local repository to the Strapi service on Railway * Start Strapi for development with `railway run yarn run develop` * This command will run Strapi in development mode with the service variables available locally * Open your browser to `http://127.0.0.1:1337/admin`
a year ago
so after??? when i create contenty-type and push github, railway trigger and try to redopley but give me fail
-------------------
.......
Dec 24 23:41:06
ERROR: failed to solve: process "/bin/bash -ol pipefail -c nix-env -if .nixpacks/nixpkgs-e05605ec414618eab4a7a6aea8b38f6fbbcc8f08.nix && nix-collect-garbage -d" did not complete successfully: exit code: 100
Dec 24 23:41:06
Dec 24 23:41:06
Error: Docker build failed
i also try my own template and still same error


