Copyright (c) 2021 Piethein Strengholt, [email protected]
git clone https://github.com/pietheinstrengholt/rssmonster.git .
npm installin both the
.env.examplefile in the root of both the
serverfolder. Copy and rename the files to
serverfolder and enter your Mysql or Database server login data (at least fill DB_DATABASE, DB_USERNAME and DB_PASSWORD).
clientfolder. Change the VUE_APP_HOSTNAME so it points to the back-end.
./node_modules/.bin/sequelize db:migrate && ./node_modules/.bin/sequelize db:seed:allin side the
serverfolder. this will add all needed database tables and content to your mysql database. Alternatively you can also uncomment the
//force:true in the app.js inside the server folder to create the schema structure.
If you would like to run RSSMonster in development mode I recommend to run:
npm run serve.
npm run start.
If you would like to run RSSMonster in production mode I recommend to run:
VUE_APP_HOSTNAMEinside the file
client/.env. Most likely you want to remove port 3000 and point to the url where the backend will be running.
npm run build.
distoutput folder created inside the
clientfolder to the
serverfolder. The NodeJS server is also capable of serving out static content.
npm run start.
The production version has the server and client combined into a single container. The VueJS is also compiled into an optimized version. To build this single image, run the following command:
docker build -t rssmonster .
Lastly you need to run the docker container. You need to provide the correct environment variables for the database server to connect to. Here's is an example:
docker run -d -t -i -e NODE_ENV=production -e DB_HOSTNAME=localhost -e DB_DATABASE=rssmonster -e DB_USERNAME=rssmonser -e DB_PASSWORD=password -p 3000:3000 rssmonster
eb create rssmonster-app --envvars "NODE_ENV=production" --database --database.engine mysql --database.username rssmonster --database.password "fvX2Ht8jXxXEYlZ6"
eb ssh rssmonster-app
/app/server/node_modules/.bin/sequelize db:migrate && /app/server/node_modules/.bin/sequelize db:seed:all
RSSMonster is compatible with the Fever API. Apps like Reeder (iOS) will support this. To use the Reeder API (http://feedafever.com/api), point to the following url:
Any username and password will work.
The following scripts and plug-ins are used within RSSMonster