A website to track your completion of a Living Pokedex.
This project has been tested to work with Node.js v5 (at least v5.10) and v6 (though it might work for other versions), so make sure you have one of them installed and active when running this application. This project also relies on the yarn.lock
file to lock down dependency versions, so we recommend that you use yarn
instead of npm
to avoid "it works on my computer" bugs that are all too common with just a package.json
.
When on Linux or Mac OS X, we recommend using nvm
so that you can easily switch between Node versions. This is so that they don't conflict with each other when working on different Node projects.
$ nvm install 5
$ nvm use 5
$ yarn
If you have avn
or nodenv
setup, the .node-version
file should automatically switch the version for you.
Keep in mind though that nvm
is not required to run this application.
While there is nvm
for Windows, we've seen some people having issues with later versions of Node. So instead, it might just be easier to install Node using the Windows Installer. Once you have Node installed, then you should be able to just install the dependencies.
> yarn
To run the development server to test it locally, you only need to run:
$ yarn start
Once the bundle becomes valid, you should be able to go to http://localhost:8080 to view it.
To ensure your files are following the preferred style guide, you can run:
$ yarn run lint
This is run on Travis whenever a commit is made so if you're going to contribute, you should make sure your files pass the linter.