A basic Next.js app styled with Tailwind.
To setup this repo you need to have a couple of things:
node
- we recommendasdf-vm
to manage node versionsredis
You can run our setup
script to setup the correct node version, if you have asdf-vm
:
bin/setup
After that, setup a database on your local machine. Just run:
createdb cryptobrands_dev
Then, just create a .env
file with the following content:
REDIS_URL="REDIS_URL=redis://localhost"
Finally, to setup the database for development just run:
bin/setup_db
Now everything is ready and you can run your dev server and visit the website at localhost:3000
:
bin/server
Provided you have ASDF, this script will set node versions.
Seeds the database by adding projects and initializing the votes count.
Runs the development server
Lints all JS and CSS code.
Builds the static site and outputs it on out
.