diff --git a/README.md b/README.md index 4625593..0635fbc 100644 --- a/README.md +++ b/README.md @@ -14,3 +14,11 @@ I use certbot to create the https certifications I run this process in the background of my EC2 server using `sudo pm2 start server.js` + +# Local dev +1. Get an API key for the Google Books API [here](https://console.cloud.google.com/apis/library/books.googleapis.com?project=booksearch-281216) +2. Set it in .env export API_KEY= +3. npm install +4. NODE_ENV=development npm start +5. Now this server is running on port 3001 http://localhost:3001 +6. Set up local dev for the bookapp here