- nvm
- node.js LTS version 10
- yarn package manager
- LAMP or MAMP server with PHP 7.3, MySql and Apache 2
- mod_rewrite
- BCMath
- Ctype
- Fileinfo
- JSON
- Mbstring
- OpenSSL
- PDO
- Tokenizer
- XML (SimpleXML)
- MySQLi
- Clone the repository to your pc or laptop
- cd
<repository>
- Run
nvm use
to use node.js 10 LTS edition - Run
yarn install
to install all the dependencies - Run
yarn clean
to start with a fresh build - Run
yarn build
to get a production ready build of CranberryMail as a zip file inreleases
folder
- Install the above listed softwares before installing CranberryMail on your server or local pc/laptop.
- Make
AllowOverride All
in your apache.conf for your server root folder to enable overrides by .htaccess - Copy the setupv3.php file to your root folder
- In the browser type your application path like:
http://localhost/setupv3.php
- Follow the instructions on the screen and by the end of this installation you will have a working copy of CranberryMail on your server or local pc/laptop
- Share your CranberryMail url with your team and ask them to login with their username and password to access their emails
- Clone the repository to a new directory or do a
git pull
inside the existing cloned directory. - Inside the cloned or existing directory run the command
nvm use
- Run
yarn install
; - Next run
yarn clean
and; - Finally run
yarn build
- Go to the releases folder in the root level of the current directory and copy the generated zip file.
- Use the setup file and in the installation method choose upload zip file
- Upload the zip file obtained in step 5
- Finally follow the on-screen instructions to complete the upgrade process
- Type of environment: APP_ENV (local or production)
- Allow debugging in app: APP_DEBUG (true or false)
- Logging level: APP_LOG_LEVEL (debug or info or notice or warning or error or critical or alert or emergency)
The above value for log levels are mentioned from least severe to most severe. Once this option has been configured, Laravel will log all levels greater than or equal to the specified severity.
-
File Upload
Update your php.ini to the following values
file_uploads = On post_max_size = 100M upload_max_filesize = 100M
Restart your apache server after modifying php.ini and you can resume the setup process.
-
Continuous page redirection
If you are facing this issue then go into the settings of your browser and clear the browser cache.
You can also try private browsing mode or incognito mode in your browser to get rid off this error.
Want to contribute to CranberryMail. Email us at contribute+cranberrymail@oss.nettantra.com
Email us at support@oss.nettantra.com