You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Codetmp will preview your code in cpreview.web.app by default. To target preview site to local environment, setup a local server for codetmp/cpreview, then change previewUrl in codetmp/js/components/preview.js to your desired host.
Building Codetmp
node build
A folder named deploy will be created along with the build files.
Deploy to Firebase
// first login to your firebase account
firebase login
You may need to upgrade nodejs version supported by the lastest firebase tools.
You may need to install required repository to install the latest version of nodejs.
firebase deploy --only hosting:codetmp
Replace codetmp with the target hosting name.
You may want to change the target folder to be uploaded to firebase hosting by changing below value in firebase.json.
{
..."target": "codetmp",
"public": "codetmp", // change to deploy/codetmp to deploy the build files instead of development one...
}