-
-
Notifications
You must be signed in to change notification settings - Fork 7.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tutorial request on deployment on DigitalOcean #531
Comments
Good suggestion @shinokada! This is in our plans: we are going to publish an article (https://blog.strapi.io/p/cd1ad84c-1ca5-409d-be05-fb06bca4e8c5/) and add it in the documentation this week. |
Great! The blog article, Building a static blog using Gatsby and Strapi was very useful for me. I'd like to see using a slug for a URL. In the new blog, it says,
Is this correct? |
Are there any changes in heroku variant? |
@shinokada yes, it should work. Did you have any issue with that? @ArkhipovK to use Heroku, you only need to set your database configuration in Heroku environment variables and update the port config in your Strapi project: Path: {
"host": "localhost",
"port": "${process.env.PORT || 1337}",
"autoReload": {
"enabled": false
},
"cron": {
"enabled": false
}
} Btw @Aurelsicoko, shouldn't we update the generators to set this value by default? |
@pierreburgy thanks for reply, but what if i have pipe to heroku from bitbucket, and bitbucket repo does not include node_modules. So i suppose i have to run some command or script to rebuild them first. What is the proper action now? |
@ArkhipovK Heroku will automatically detect that your app is a Node.js app and then, will install the node modules. |
The tutorial has been published: https://medium.com/@strapi/how-to-deploy-a-strapi-api-on-ubuntu-16-04-17f8fbbf5c5b, so I am closing the issue. Thanks again for your suggestion! |
I just wanted to request a tutorial or doc page on deployment especially DigitalOcean.
The text was updated successfully, but these errors were encountered: