We are currently working on the next version here: webdesignio V2
The documentation resides under /docs. Refer to them as a developer.
-
Get the web-design.io platform.
git clone https://github.com/web-designIO/webdesignio.git
-
Add a file for secrets. Used secrets are:
# ./secrets export COOKIE_SECRET="" export AWS_ACCESS_KEY_ID="" export AWS_SECRET_ACCESS_KEY="" export AWS_S3_BUCKET="" export AWS_S3_REGION="" export MAILGUN_DOMAIN="" export MAILGUN_API_KEY="" export MAILCHIMP_API_KEY="" export MAILCHIMP_LIST_ID=""
-
Install dependencies.
node, npm, bower, mongod, redis-server
-
Run dependency installation.
npm install && bower install
-
Start the platform:
npm start
-
Using a browser, go to http://localhost:3000 and you'll see: web-design.io.
-
Open a connection to MongoDB:
localhost:27018
-
Create a DB 'local'. Create a collection 'users'. Create document:
"email" : "[email protected]", "isAdmin" : true
-
Using a browser, go to http://localhost:3000/register and use the same email.
-
Go to http://localhost:3000/auth . Login.
git submodule add website-name.git websites/website-name
-
Go to http://localhost:3000/admin/websites/new. Use
Website: website-name (the name of the submodule) Domains: a free local domain e.g. sub1.localhost
-
Save and visit the domain that you have just entered.
- A website exports an express-app. So you can do everything you can do with express.