- Clone the repository.
- You will find the
package.json
. You can runnpm i
to install the dependencies.
We have the following dependencies:
- ncp: Used to copy and paste folders in our project. (Available with static website)
- express & ejs. Serve dynamic website.
- envdot: enviroment variables.
- mongoose: database.
- webpack, webpack-cli: Use webpack.
- @babel/core, @babel/preset-env, babel-loader: The old browsers can understand ourcode.
- css-loader, sass-loader, style-loader, mini-css-extract-plugin: Bundle the css files.
- file-loader: Bundle external files (imgs...).
- html-loader, html-webpack-plugin: Bundle the html files. (Available with static website)
- node-sass: Export from scss to css.
- browser-refresh: Watching fiiles for changes.
- Download the JSON file with the credentials.
- Provide authentication setting the
GOOGLE_APPLICATION_CREDENTIALS
with the JSON file:
- Windows:
set GOOGLE_APPLICATION_CREDENTIALS=[PATH]
- MacOS and Linux:
export GOOGLE_APPLICATION_CREDENTIALS="[PATH]"
.
Replace [PATH] with the file path of the JSON file that contains your service account key.
- Running
npm run serve
will build our project.
If you have tasks to complete, please follow these steps:
- Create your own branch
git checkout -b feature/ticket-title
. - Complete your task.
- Run
npm start
openhttp://localhost:8080
and test your component's task. Test it with multiple browsers. - Create the PR.
Once your PR is approved and merged, make sure your changes are available at https://moramia-pushdev.uc.r.appspot.com/