Skip to content

ClockworkOrange605/nft-hack

Repository files navigation

Creative Coding NFT's

A service that allows users to create their Creative Coding Artworks and publish them as NFT tokens.

Running Dev Server

Using Docker Compose

Make sure that docker-compose is installed and your user has the rights to run it:

$ sudo apt install docker-compose
$ sudo usermod -aG docker $USER

Copy .env file and configure your project:

$ cp .env.exapmle .env
$ nano .env

Run containers:

$ docker-compose up -d

Migrate contracts into your dev chain:

$ docker-compose exec rpc bash -c "npx truffle migrate"

Make sure that your .env file contain deployed contract address and recreate api container if you change config:

$ docker-compose up -d api

Make sure that api container has the necessary packages for media generation:

$ docker-compose exec api bash -c "apt update && apt install chromium ffmpeg"

Now you have your dev environment up and running and can develop

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages