-
-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
App.js Naming #154
Comments
app.js is the main application file, so to me it makes sense. In other programming languages it might be called main.js because it contains the main function. I think often in node it is index.js, or server.js To start Ghost, you can type npm start instead of node app.js |
👍 for index.js |
Note: this will also have to change deploy scripts, Vagrant instructions etc |
Totally - that's why I wanted to get it stabilised sooner rather than later! |
- issue TryGhost#154, issue TryGhost#224 and issue TryGhost#220 - change port number from 3333 to 2368 - change main file name from app.js to index.js - update README & package.json to match
no issue - Current update stripe subscription API calls only allowed cancelling a plan - This change adds option to pass plan's nickname as `planName` in request to update subscription to new plan - Checks if plan name is valid and updates stripe subscription to new plan at default prorate behavior
It's a pedantic naming thing - but app.js bugs the fuck out of me. It just sounds way too generic / weird. I would like to propose start.js.
The text was updated successfully, but these errors were encountered: