Nostros is an Android client to connect to the Nostr protocol, which allows the creation of an uncensored, decentralized, ad-free social network.
This is the website for the Nostros app, built using HTML, CSS and JavaScript and bundled with Webpack.
To get a local copy of the project up and running on your machine, follow these steps.
You need to have Node.js and Yarn installed on your machine.
- Clone the repository:
git clone https://github.com/your-username/nostros-web.git
- Install the dependencies:
cd nostros-web
yarn install
- Start the development server:
yarn start
This will open the website in your default browser and watch for changes, automatically rebuilding and refreshing the page.
- Build for production:
yarn build
This will create a dist
directory with the optimized, minified, and hashed files ready to be deployed.
To start and keep alive the docker instance run:
docker-compose up -d
To test certbot
docker-compose run --rm certbot certonly --webroot --webroot-path /var/www/certbot/ --dry-run -d nostros.net
To set automatic renewal with crontab:
00 00 1 */3 * docker compose run --rm certbot renew