Follow these steps to set up the project locally.
You will need the following things properly installed on your computer.
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
yarn l10n: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
yarn l10n:generate
you encounterGet-Text Finding Error
orEmber-l10n Missing Dependencies
. Please use this before runningyarn l10n:generate
again :
brew reinstall gettext
brew link --force gettext
-
By default, the
.env.example
file specifies theAPI_HOST
ashttps://test-api.eventyay.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. -
By default, the
environment.js
file specifies thewebAppGenerator
ashttps://open-event-wsgen-dev.herokuapp.com
which is a test deployment of the open-event-wsgen. 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 website generator, you must have the open-event-wsgen already up and running. Please install and set it up first before creating a constant URL forWEB_APP_GENERATOR_HOST
tohttp://localhost:3000
in .env and proceeding to run the frontend.
yarn start
- Visit your app at http://localhost:4200.
Using gitpod
-
Fork the repo and clone it on your system.
-
Create a new branch & push it to your remote repository.
-
Prefix the new branch remote url with
gitpod.io/#
Like this:https://gitpod.io/#github.com/progmatic-99/open-event-frontend
OR
-
Install the browser extension.