An example from https://medium.com/taipei-ethereum-meetup/build-your-first-ethereum-smart-contract-during-lunch-break-89b2a5a952d2.
In the new version of truffle, use truffle develop
to start network and open a truffle console. Type deploy
in the console to deploy the contract.