Welcome to the private repository of click-clack.cc. Please enjoy your stay.
If you can read this, that means you have already spoken to @szabodanika and know what's up, but here you can read a bit more about our rules of contribution.
npm install
NODE_ENV = 'debug'
PORT = 443
GOOGLE_ANALYTICS_ID = ''
HTTPS_KEY = ''
HTTPS_CA = ''
HTTPS_CERT = ''
Use port 8080 to run in http mode instead of https
HOST = localhost
API_URL = 'https://click-clack.cc:5000/api'
This url will connect you to the production backend. While most requests are validated and we have backups, please be careful when testing changes to services or CRUD functionality
Unless you have your own SSL certificates (you can generate your own using OpenSSL), you need to run click-clack in http mode.
To do this have to remove the following lines in nuxt.config.js
:
https: {
key: process.env.HTTPS_KEY ? fs.readFileSync(`${process.env.HTTPS_KEY}`) : null,
ca: process.env.HTTPS_CA ? fs.readFileSync(`${process.env.HTTPS_CA}`) : null,
cert: process.env.HTTPS_CERT ? fs.readFileSync(`${process.env.HTTPS_CERT}`) : null
}
serverMiddleware: [
redirectSSL.create({
statusCode: 301
})
],
npm run dev
The content of nuxt.config.js is subject to changes and the above snippets may be affected. In this case please contact a member of the dev team to update the build instructions.
Instructions to be updated.