map-egypt / map-egypt.github.io

Other
1 stars 6 forks source link

MAP Egypt

Development environment

To set up the development environment for this website, you'll need to install the following on your system:

The versions mentioned are the ones used during development. It could work with newer ones.

After these basic requirements are met, run the following commands in the website's folder:

Activate the desired Node version

nvm install

Install Node modules:

$ yarn install

Getting started

$ yarn build-geo

Build the geometries needed for the maps.

$ yarn serve

Compiles the sass files, javascript, and launches the server making the site available at http://localhost:3000/ The system will watch files and execute tasks whenever one of them changes. The site will automatically refresh since it is bundled with livereload.

Other commands

Compile the sass files, javascript... Use this instead of npm run serve if you don't want to watch.

$ npm run build