abernier / mosaico-backend

Ready to go backend for Mosaico editor
https://mosaicobackend-prod.herokuapp.com
GNU General Public License v3.0
12 stars 13 forks source link

(developer|local)-first #9

Closed abernier closed 6 years ago

abernier commented 7 years ago

The project is intended to be developer-first and also local-first -- in effective, there is little chance a sales manager install the project on his machine or a developer doesn't want to test on a dev environment before a production one.

Therefore, README, install commands...etc should be written/designed with this in mind.

For example, npm run build should not be for building a production server but rather a developer server.

Idem for npm start and so on...

@Hiswe can you review the npm scripts in that sense ?

Hiswe commented 7 years ago

@abernier We need to know what port we should use in default config.

Hiswe commented 7 years ago

@abernier I mean the default host. In my opinion should always be localhost:3000 and the doc should mention that livereload could be enabled in dev if you set your config to host: locslhost:7000 and then go to localhost:7000 in your browser

abernier commented 7 years ago

I agree for default localhost:3000 host.