Strapi crashing again

(ID: 284c2e70-6ed5-479a-bee5-eb8843c32fa5) Hi, Strapi template installation problem fixed yesterday (thx again), but new problems today. Initially, I could log into Strapi but needed to change from "npm start" to "npm run develop" (in my github) so that i can edit content. Is this the correct workflow? This worked, but later trying uploading a picture resulted in an "Oops something went wrong" error. (all cloudinary keys are added) Now, clicking on my Strapi link in railway results in an "Application failed to respond" error. Some days ago this all worked without any problems. Maybe something is still not working properly? Maybe somebody knows whats wrong? Best Regards Carlo
No description
Solution:
hey @karl_switzerland - sorry it took so long, me and milo have been busy, but you can now find the Developing locally guide on the templates readme
Jump to solution
9 Replies
Percy
Percy13mo ago
Project ID: 284c2e70-6ed5-479a-bee5-eb8843c32fa5
Felinto
Felinto13mo ago
This is not the correct workflow. You just use "npm start develop" in the development environment to edit the schema. In production, just use "npm start". You cannot edit the schema of your data in the production environment.
Karl_Switzerland
Karl_SwitzerlandOP13mo ago
My mistake yap. I am not enough familiar with Strapi then, and I underestimated the complexity of the task. I have cloned the repository, but when I run now npm run develop, I get the following error: errno: -4078 code: 'ECONNREFUSED' I am not sure how to set up a correct development environment for Strapi then. I thought it would be a simple process, but it is obviously more complex than I expected.
Brody
Brody13mo ago
please read the overview for the strapi template
Karl_Switzerland
Karl_SwitzerlandOP13mo ago
I was reading the GitHub README.md from https://github.com/railwayapp-templates/strapi/blob/main/README.md Click the Railway button Add the environment variables If you do not add the Cloudinary related environment variables, your images/files will not be persisted between deploys. Is there anything else somewhere?
GitHub
strapi/README.md at main · railwayapp-templates/strapi
Deploy Strapi on Railway. Next-gen headless CMS. Contribute to railwayapp-templates/strapi development by creating an account on GitHub.
Brody
Brody13mo ago
we will be adding more documentation in the coming days will let you know when thats added
Karl_Switzerland
Karl_SwitzerlandOP13mo ago
cool thx
Solution
Brody
Brody13mo ago
hey @karl_switzerland - sorry it took so long, me and milo have been busy, but you can now find the Developing locally guide on the templates readme
Karl_Switzerland
Karl_SwitzerlandOP13mo ago
Cool thx - I almost forgot that. I will try this later.
Want results from more Discord servers?
Add your server