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-frontend
yarn
cp .env.example .env
node scripts/l10n.js generate
-
Open Event Frontend supports FastBoot which is disabled for the development environment and is controlled by the flag
FASTBOOT_DISABLED
in the.env
file. -
Only for Mac users :- If while running
node scripts/l10n.js generate
you encounterGet-Text Finding Error
orEmber-l10n Missing Dependencies
. Please use this before runningnode scripts/l10n.js generate
again :
brew reinstall gettext
brew link --force gettext
- By default, the
.env.example
file specifies theAPI_HOST
ashttps://open-event-api-dev.herokuapp.com
which 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_HOST
tohttp://localhost:5000
and proceeding to run the frontend.
yarn start
- Visit your app at http://localhost:4200.