Installing Fairdrive + Fullstack (bee + fairOS) for local testing
1 - Ensure that you have installed (docker, git, wget). Check that ports 3000, 1633, 1634, 1635 are available.
2 - Install bee + fairos:
mkdir bee-fairos
cd bee-fairos
wget https://gist.github.com/IgorShadurin/3d9ba1192778c07c91d3fcc9f98a7b84/raw/f8ca14eca0e4c038d6dfa8229179173a86b36b32/docker-compose.yml
docker compose up
or docker-compose up
Wait message about funding like that "bee-1_1 | time="2021-07-10T18:51:54Z" level=warning msg="get your Goerli ETH and Goerli BZZ now via the bzzaar at https://bzz.ethswarm.org/?transaction=buy&amount=10&slippage=30&receiver=0xab0a2e21e53889481b2af53950baa0f530d58c55". Wallet in this example is 0xab0a2e21e53889481b2af53950baa0f530d58c55.
Copy wallet from YOUR logs.
Open official SWARM faucet https://discord.com/channels/799027393297514537/841664915218628619 and fund your wallet with 10 gBzz + 0.5 gEth from https://faucet.goerli.mudit.blog/
If Docker with bee + fairos closed before you fund, please run "docker compose up" again.
Wait until bee will deploy cheqbook and this message appears "fairos_1 | time="2021-07-10T19:30:11Z" level=info msg="fairOS-dfs API server listening on port: 9090""
Open http://localhost:9090 in your browser and you can see few lines with information about fairOS. These lines will appear only after chequbook deployment.
3 - Clone fairdrive and install all dependencies into Docker image with this command
curl -sSL https://gist.github.com/IgorShadurin/3d9ba1192778c07c91d3fcc9f98a7b84/raw/9b2c6064b191fa5d0eb6ff94022cfcae677b3b53/install-fairdrive.sh | sh
4 - Run prepared Docker container with docker run --rm -it -p 3000:3000 fairdrive start
5 - Open http://localhost:3000
in your browser