Git Product home page Git Product logo

mern-aquilacms's Introduction

AquilaCMS License Badge Codacy Badge Build Status

The Open Source, 100% JavaScript and "all in one" ecommerce solution.

AquilaCMS

AquilaCMS is :

  • An open-source e-commerce web application
  • A 100% JavaScript solution with MERN Stack
  • A mutli-themes website : Front-end can be used with ReactJS and NextJS (for polymorphism) or any other JS technology (VueJS, Angular, etc)
  • A complete back office to manage everything in your website
  • A plateform to add modules and themes from Aquila's Shop

AquilaCMS

Server configuration

To install the latest AquilaCMS, you need :

System packages

  • You must verify that you have these packages installed on your OS :
g++ gcc libgcc libstdc++ linux-headers make python libtool automake autoconf nasm wkhtmltopdf vips vips-dev libjpeg-turbo libjpeg-turbo-dev

wkhtmltopdf and libvips are NOT necessary for the installation of AquilaCMS but are used in certain functions: wkhtmltopdf is used when generating pdf and libvips when processing cached images (resizing, changing the quality etc).

Installation

You can download the source code from GitHub and run the following command-line (not 'Windows cmd') to launch the interactive installer.

  • With npm :
yarn install
npm start
  • With pm2 :
yarn install
cp ecosystem.config.example.js ecosystem.config.js
npm run start:pm2
  • With docker :
# create a network to link mongo and Aquila CMS
docker network create aquila
# create the mongo instance
docker run --name mongo -p 27017:27017 --network=aquila mongo
# pull the latest and run AquilaCMS
docker run -p 127.0.0.1:3010:3010/tcp --network=aquila --name aquila aquilacms/aquilacms
  • You can just launch the AquilaCMS image without creating a network if you don't want to connect to a MongoDB launched via Docker
  • if you change the port of the docker container, remember to use the correct PORT env variable.

At the first launch, there is an installation page. It allows you to create an env.json file in the config folder.

You can edit this file manually, an example of the different possible properties is in the config/env.example.json file. You can also found all the properties in the documentation

⚠️Warning : there is not MongoDB in AquilaCMS image

To connect your AquilaCMS website to a Mongo database, you can :

  • run a MongoDB image next to the AquilaCMS image like in the example above (and use this mongodb container as hostname : mongodb://mongo:27017/)
  • use an external link to, for example, an Atlas database
  • use a localhost link to connect AquilaCMS to a database on your host machine (you have to edit your mongod.conf and change your bindIp by your network ip instead of 127.0.0.1)

Silent installation

To start a silent installation, you need to set the following environment variables, then start aquila :

  • MONGODB_URI : MongoDB URI
  • LANGUAGE : Default language. "en" for English or "fr" for French
  • FIRSTNAME : Administrator's firstname
  • LASTNAME : Administrator's lastname
  • EMAIL : Administrator's email
  • PASSWORD : Administrator's password (if no password is entered, a random password will be created and shown only once in the server logs during installation)
  • APPURL : URL of the website (ie http://localhost:3010)
  • ADMIN_PREFIX : Admin subpath (ie : admin)
  • SITENAME : Website's name

Have the installation page again

If you want to have the installation page again, you can remove the env.json file in the config/ folder.

Environment variables

You can define two environment variables inside AquilaCMS (you can copy .env.sample into a .env file).

Manually build the theme

We strongly recommend that you build the themes from the AquilaCMS backoffice. But if you want, for any reason, to manually build a theme, you can execute this command at the root of AquilaCMS :

npm run build <THEME_NAME>

The parameter is the name of the theme folder you want to build.

On Windows, we do not recommend using the default cmd. Otherwise, you may get an error when using the npm run build command.

Documentations

Find some documentation on :

You can also check some tutorials on :

Contribute

If you want to contribute, you will need to install husky or else you won't be able to commit new feature

yarn husky:install

Demos

Demos website are available:

Front

You can check the default front here :

Backoffice

You can check the backoffice here :

Logins are :

Email Password
[email protected] Demo123

License

AquilaCMS is licensed under OSL3

mern-aquilacms's People

Contributors

actions-user avatar axelange avatar bastien02 avatar benjamintournois avatar bertrand-ns avatar codacy-badger avatar dependabot[bot] avatar devaquila avatar florianb04 avatar haegemonia76 avatar its-just-nans avatar jflaflamme avatar jorickbarneaud avatar justseenn avatar maelvb avatar nicolas-b06 avatar pntony avatar yos6 avatar yos666666 avatar

Stargazers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.