capitals-game, a website to test your knowledge of the world's capital cities
Website developed with HTML, CSS and Typescript. Assets are bundled with Parcel. Application is run on Netlify. Map is pulled from Google Maps API. Tested via Jest.
Clone the project
git clone [email protected]:maricalmer/maricalmer.github.io.git my-project
Go to the project directory and remove git logs
cd my-project
rm -rf .git
Install dependencies
bundle install
yarn install
Make sure you have ./node_modules/.bin in your $PATH:
echo $PATH
# You should see `./node_modules/.bin` in the list
If it's not the case, add it:
cd ~/code/dotfiles/<your_github_nickname>
echo 'export PATH="./bin:./node_modules/.bin:${PATH}"' >> zshrc
cd ~/code/<your_github_nickname>/my-project
source ~/.zshrc
Start the server
npx parcel index.html