Make sure you have the Ionic CLI installed. If not, check out the official documentation for installation instructions.
- Download the app from the release page and extract it.
- Navigate to the app directory.
- Run the following command to download dependencies:
npm install
- Create a
.env
file by taking reference from the.env.example
. - To run the app in browser use the command:
ionic serve
- Open a Terminal window
- Clone app using the command:
git clone https://github.com/hotwax/preorder.git <repository-name>
- Go to the directory using command:
cd <repository-name>
- Run following command to download dependencies
npm i
- Create a
.env
file by taking reference from the.env.example
. - To run the app in browser use the command:
ionic serve
We're using Firebase Hosting for the Pre-order app deployment. Here’s how to deploy:
- *Install the Firebase Cli
- Create a Firebase project.
- Ensure you have access to the project.
-
- Update the DEV instance URL in the .env.production file.
-
- Build the application:
ionic build
- Build the application:
-
- Log in to Firebase:
firebase login
- Log in to Firebase:
-
- Deploy to Firebase Hosting:
firebase deploy --only hosting:<hosting url>
- Deploy to Firebase Hosting:
Due to a bug in the Ionic CLI, we need to use vue-cli-service for building different modes (staging, production, QA, etc.):
-
Manually build the application: npx vue-cli-service build --mode=sandbox
-
Copy web assets to the native project without building the app: ionic capacitor copy ios --no-build
-
Open the project Android Studio or XCode: ionic capacitor open android
ionic capacitor open ios
🤝 Contribution Guidelines
- Fork the repository and clone it locally from the main branch. Ensure it’s up to date.
- Pick an issue from here and comment if you want to take it on. Stay assigned to one issue at a time to avoid blocking others.
- Create a branch for your edits using the naming convention: preorder/issue-number. Add the issue number to your commit message. Propose a Pull Request to the main branch with the issue number and title. Use the Pull Request templateand fill in as much detail as possible. Reference any relevant issues or information in your PR. Wait for a review and adjust your PR as needed. Congrats! 🎉 Your PR should now be merged! If you encounter any issues or need help, feel free to ask!
Always specify the type of issue:
Bug report Feature request Be as specific as possible when writing issues. For implementation support or setup questions, reach out to the community!
You can find helpful resources for improving the UI/UX of the app here.
Have questions or ideas? Join our Discord channel!
The Pre-order app is completely free and released under the Apache v2.0 License. Check out the LICENSE for more details.