Follow these steps to set up the project locally.
You will need the following things properly installed on your computer.
It is also recommended to have watchman installed to speed up the file-watcher/auto-build service of the ember build server.
git clone <repository-url>this repositorycd open-event-frontend
Note : If you want to contribute, first fork the original repository and clone the forked repository into your local machine followed by cd into the directory
git clone https://github.com/USERNAME/open-event-frontend.git
cd open-event-frontendyarncp .env.example .envnode scripts/l10n.js generate
-
Open Event Frontend supports FastBoot which is disabled for the development environment and is controlled by the flag
FASTBOOT_DISABLEDin the.envfile. -
Only for Mac users :- If while running
node scripts/l10n.js generateyou encounterGet-Text Finding ErrororEmber-l10n Missing Dependencies. Please use this before runningnode scripts/l10n.js generateagain :
brew reinstall gettext
brew link --force gettext - By default, the
.env.examplefile specifies theAPI_HOSTashttps://open-event-api-dev.herokuapp.comwhich is a test deployment of the open-event-server. If you intend to work on just the frontend, this is sufficient. If however, you intend to work on issues which involve both the frontend and the backend, you must have the open-event-server already up and running. Please install and set it up first before changing the URL forAPI_HOSTtohttp://localhost:5000and proceeding to run the frontend.
yarn start- Visit your app at http://localhost:4200.