Thank you so much for downloading JxtPress 2.1 - the first proud release version.
This quick quick will cover the basics of what you will need to have and do in order to successfully test and adopt JxtPress to manage your website.
Requirements
Where is what you will need in order to test out JxtPress for yourself.
- NodeJS v23.5.0
- MySQL v8.0.40
- Install PM2
- JxtPress Build
- Server Root Director
Unzip & Prepare Folder
JxtPress is compressed into a zip file, which you will need to un-compress into and store to your host machine.
Once uncompress, you will initial have 2 folders per below.
Now, create a file within this folder called "ecosystem.config.js" and paste below script into it. This code allows you to utilize PM2 to cluster a runtime instance of JxtPress - making your website run event faster!
Please make sure to customize and change these before running
ecosytem.config.jsmodule.exports = { apps: [ { name: 'JxtPress 2.1', port: '3080', exec_mode: 'cluster', instances: 'max', script: './server/index.mjs', env : { INIT_CWD: process.cwd(), JXT_DB_HOST :"localhost", JXT_DB_USER:"YOUR_DB_USER_NAME", JXT_DB_PASSWORD:"YOUR_DB_USER_PASSWORD", JXT_DB_NAME:"A_NAME_FOR_YOUR_WEBSITE_DATABASE", JXT_JWT_SECRET:"STRING_PASSWORD_FOR_ENCRYPTING_JSON_WEB_TOKENS_USED_FOR_LOGGING_USERS_IN", APP_SECRET : "SECRET_PASSWORD_FOR_ENCRYPTING_SENSITIVE_SITE_OPTIONS_TRY_TO_HAVE_14_CHAR_OR_MORE", APP_SECRET_IV:"SECRET_PASSWORD_SIMILIAR_TO_APP_SECRET", } } ] }
Javascript
Running & Managing Server
With the above requirements met, you can now run JxtPress using:
> pm2 start
Javascript
You should now be able to to navigate to "localhost:PORT_NUMBER" and see the website.
Below are some useful PM2 commands to help you manage your website with PM2
> pm2 start // start your server > pm2 stop all //stop all clusters > pm2 delete all //remove all clusters > pm2 log //see log files
Javascript
With your website now running and you know how to stop it, if you need to, turn your attention to the website itself.
The first order of business is to create a profile on yourself site. This is important because the first user to create a profile is granted administrative rights to the entire thing. So hurry. Navigate to "/signup" or "/login" so you can start creating posts, pages, and managing other users.
Enjoy JxtPress
Thank you so much for your interest in JxtPress. It is something we built out of passion and desire to have a common-sense solution for website content-management that is powered by a modern tech-stack.
We plan on continuing to innovate on the features we have already and correcting issues as they are discovered. Our goal is to make JxtPress the premiere solution for bloggers, companies, eCommerce, online-sources, and any other app you wish to build.
Please consider supporting this work with a donation. Thank you
Soliduscode
Thank you for visiting. Please check back regularly for updated content.
©SolidusCode 2024
Proudly powered by JxtPress