Strapi v5.0.1
szilardkoppel
FREEOP

2 years ago

Description: A popular self-hosted "headless" CMS

Category: CMS

URL: https://railway.app/template/e10OW1

5 Replies

jaap-codios
HOBBY

2 years ago

Hi, would you mind upgrading to 5.1.0, this version is unstable and crashes for me


szilardkoppel
FREEOP

2 years ago

done, updated to v5.1.0


ibraelmahallawy
TRIAL

2 years ago

how to switch Strapi to development mode?


szilardkoppel
FREEOP

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 Eject in the 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
    • 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

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


Welcome!

Sign in to your Railway account to join the conversation.

Loading...