This project contains promiseQ homepage built with Next.js and deployed on Firebase.
Following are the instructions on setting up and running the project locally.
- Clone the repo:
git clone [email protected]:aoye/home_page_redesign.git
- Install npm node modules:
npm install
- Run the development server:
npm run dev
Open http://localhost:3000 with your browser to see the result.
The following are the instructions to deply the project as a static site.
The following are the instructions to deply the project as a static site.
-
Delete firebaserc & firebase.json files
-
Init firebase:
firebase init hosting
# select Use an existing project
# select promiseq-homepage (promiseq-homepage)
# select /out as your hosting directory
- Buid the project
npm run build
- Export files to hosting directory
npm run export
- Deploy on Firebase
firebase deploy --only hosting
The project has already been deployed on Firebase.
Links:
The following are the instructions to deply the project as a static site.
-
Delete firebaserc & firebase.json files
-
Init firebase:
firebase init hosting
# select Use an existing project
# select promiseq-homepage-develop (promiseq-homepage-develop)
# select /out as your hosting directory
- Buid the project
npm run build
- Export files to hosting directory
npm run export
- Deploy on Firebase
firebase deploy --only hosting
The project has already been deployed on Firebase.
Links:
- Project Console: https://console.firebase.google.com/project/promiseq-homepage-develop/overview
- Hosting URL: https://promiseq-homepage-develop.web.app