- This guide is for setting up a live version of our React app (the map/event system). If you’re looking for the local host setup guide its this way
- If you want the full process for setting up an entire live platform its here
- Set up a Linux Server: Ensure that you have a Linux server, either on a virtual machine, a cloud service provider, or a dedicated server.
- Install Meteor: Follow the installation instructions provided in the Meteor documentation to install Meteor on your server.
- Clone the Repository: Clone your repository onto your server using the following command:
git clone -b master --single-branch https://github.com/your-github-username/fl-maps
- Configure Git: Set up your Git configuration, including adding the upstream remote. Ensure that you have the appropriate permissions to push changes to the repository.
git remote add upstream https://github.com/focallocal/fl-maps git remote -v
- Install Dependencies and Run the Project: Navigate to the project directory and install the required dependencies:
meteor npm install
If you encounter errors related to
sass-loader, run the following command:
meteor npm rebuild node-sass --force
After resolving any errors, start the project:
npm run start
- Create a New Branch: When working on a new feature or making changes, create a new branch for your changes:
git checkout -b new-feature-name
- Make Changes and Run Tests: Make the necessary changes to the code, and before pushing the changes, ensure that all the tests have passed:
npm test or npm run test-watch
- Push Changes and Create a Pull Request: After ensuring that all the tests pass, add, commit, and push your changes to your forked repository. Then create a pull request from your forked repository to the main repository.
- Configure a Web Server: Set up a reverse proxy with Nginx to serve your Meteor app on a specific domain.
- Install Discourse: If your app requires Discourse integration, follow the steps provided to set up Discourse on your localhost. Make sure it is appropriately configured to communicate with your Meteor app.